Keep It Simple, Stupid | |
PerlMonks |
Re^3: Hash not getting updatedby CharlesClarkson (Curate) |
on May 03, 2005 at 14:23 UTC ( [id://453592]=note: print w/replies, xml ) | Need Help?? |
Have you tried it like that?
I get this in perl 5.8.6:
Perl assumes you want to evaluate the array in scalar context. Better to stick to the same notation everyone else uses for hash slices.
HTH, Charles
In Section
Seekers of Perl Wisdom
|
|