You may also find it interesting, that what's good for the goose is also good for the gander.
Just as you can use an unquoted key while using your hash:
print $h{world}, "\n";You can also use an unquoted key while creating your hash:
my %h = ( '512_x64' => '24', world => 'hello');In reply to Re: Hash keys not DWIMming
by ruzam
in thread Hash keys not DWIMming
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |