Do you know where your variables are? | |
PerlMonks |
Re: Undefined undef oddnessby japhy (Canon) |
on Jul 24, 2001 at 00:42 UTC ( [id://99163]=note: print w/replies, xml ) | Need Help?? |
You can only test for undefinedness via defined(). If you use undef with == or eq (or any other operator like them), it gets converted to 0 or the empty string.
_____________________________________________________
In Section
Seekers of Perl Wisdom
|
|