good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: unable to resolve warning "Use of uninitialized value in ..."by Corion (Patriarch) |
on Oct 24, 2005 at 13:56 UTC ( [id://502467]=note: print w/replies, xml ) | Need Help?? |
The way to check for an undefined value in Perl is
(see perldoc -f defined for more information). You could also turn off the warning, but usually, turning off a warning is a bad practice because you're likely to forget to turn it on again immediately afterwards.
In Section
Seekers of Perl Wisdom
|
|