Problems? Is your data what you think it is? | |
PerlMonks |
Re: Looping through a hash reference is creating a key...?by Anonymous Monk |
on Jun 11, 2004 at 02:30 UTC ( [id://363279]=note: print w/replies, xml ) | Need Help?? |
Perl does something called autovivication. How you get around it is exactly what you've done here using the 'exists' test. Autovivication can be your friend at times, but it can really bite you too.
In Section
Seekers of Perl Wisdom
|
|