I used to access my hash of hashes with the following in my old Perl (in a foreach my $word loop):
my @variants = keys $hash{$word}{variants};
In Perl 5.24 I get the following error:
Experimental keys on scalar is now forbidden
What is the right way to write it now?
In reply to Experimental keys on scalar is now forbidden by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |