laziness, impatience, and hubris | |
PerlMonks |
Re: Automagic Array to Hash Conversion? Pseudo-Hash Explosionby strat (Canon) |
on May 14, 2002 at 15:59 UTC ( [id://166473]=note: print w/replies, xml ) | Need Help?? |
Your problem might be auto-vivification. With defined, you just check if a value of a hash is defined, not if it is existing. (And the value of a hash may be existing but undef without problems). Better use something like:
Best regards,
In Section
Seekers of Perl Wisdom
|
|