in reply to Weird hash access problem
You will see that there is a space after a1:print ">>>$1<<<"; #print "a1"
'a1 ' is not the same as 'a1' as a hash key.>>>a1 <<<
You should also use warnings because it tells you which line is fishy.
See also: chess
|
|---|