We don't bite newbies here... much | |
PerlMonks |
Re: Strange behaviour reading from hashref stored in arrayby Random_Walk (Prior) |
on Feb 16, 2009 at 15:36 UTC ( [id://744095]=note: print w/replies, xml ) | Need Help?? |
As moritz says this is auto vivification. There is a way you can test if a key exists without the side effect of creating it
not the most attractive looking code though Cheers,
Pereant, qui ante nos nostra dixerunt!
In Section
Seekers of Perl Wisdom
|
|