Fixed "First argument to Readonly must be a reference" compilation error for Perl 5.6.2