Assuming the offending code looks something like this:
my $hashref = { .... }; my $keysCount = keys $hashref;
Then add a dereference:
my $keysCount = keys ${ $hashref };
Or just:
my $keysCount = keys $$hashref;
In reply to Re^2: Perl Python Partial Polyglot
by BrowserUk
in thread Perl Python Partial Polyglot
by kschwab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |