Do you know where your variables are? | |
PerlMonks |
Re3: Detect presence of numbers 1-9by dragonchild (Archbishop) |
on Apr 08, 2002 at 14:27 UTC ( [id://157445]=note: print w/replies, xml ) | Need Help?? |
I'd avoid the double-negative tests because they would match the empty string (and undef, but you do have warnings enabled, right?). In most cases, it's usually better to state what you want, not what you don't want. :-)
------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
In Section
Seekers of Perl Wisdom
|
|