![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: hash undef?by moritz (Cardinal) |
on Nov 15, 2007 at 12:59 UTC ( #650966=note: print w/replies, xml ) | Need Help?? |
You can also check with exists in hashes, the semantic is a little bit different. Update: A bit explanation: == compares numbers, so in the expression $foo == undef the undef is promoted to 0 and compared with $foo - not what you want.
In Section
Seekers of Perl Wisdom
|
|