laziness, impatience, and hubris | |
PerlMonks |
Re^5: Check for Positive Integer entry onlyby shobhit (Sexton) |
on May 30, 2007 at 05:05 UTC ( [id://618110]=note: print w/replies, xml ) | Need Help?? |
looks_like_number() is good.
But this is also dubious as you have pointed out. And number comparison with string should return an error.
In Section
Seekers of Perl Wisdom
|
|