more useful options | |
PerlMonks |
Re: Uninitialized valueby ariels (Curate) |
on May 10, 2002 at 16:32 UTC ( [id://165701]=note: print w/replies, xml ) | Need Help?? |
You want to know if $junk is defined, why not check if defined($junk)? Handles <samp>0</samp> and <samp>''</samp> correctly, is easily readable, and explains itself.
In Section
Seekers of Perl Wisdom
|
|