Hai, In the "%random_name" hash, $bob is treated as a string if its not declare.really?
or$ perl -MO=Deparse -e '%a=($bob => "foo")' (%a) = ($bob, 'foo'); -e syntax OK
$ perl -MData::Dumper -e '%a=($bob => "foo"); print Dumper \%a' $VAR1 = { '' => 'foo' };
In reply to Re^2: calling a hash
by blazar
in thread calling a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |