Keep It Simple, Stupid | |
PerlMonks |
Re: CGI.pm and Use of uninitialized value in pattern matchby jeffa (Bishop) |
on Jan 21, 2009 at 14:26 UTC ( [id://737835]=note: print w/replies, xml ) | Need Help?? |
Try this: Or, if the value zero is valid: etc. The idea is to first check for defined-ness and then act on that variable if it is. jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|