"be consistent" | |
PerlMonks |
Re: How to deal with undefined returned variables.by davorg (Chancellor) |
on Jan 19, 2001 at 21:54 UTC ( [id://53045]=note: print w/replies, xml ) | Need Help?? |
If zero or the empty string aren't valid values then you could use:
Otherwise, you'd need:
which isn't much different to what you've got.
In Section
Seekers of Perl Wisdom
|
|