in reply to Re: calling a hash
in thread calling a hash
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' };
|
|---|