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 reply to Re: Uninitialized value
by ariels
in thread Uninitialized value
by ravendarke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |