So you can use a key that starts with a digit!#!/usr/bin/perl use warnings; use strict; my %h = ( '512_x64' => '24', 'world' => 'hello'); print $h{world}, "\n"; # line 5 print $h{'512_x64'}, "\n"; # line 6
In reply to Re: Hash keys not DWIMming
by sflitman
in thread Hash keys not DWIMming
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |