good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Check for Positive Integer entry onlyby Nkuvu (Priest) |
on May 09, 2007 at 17:54 UTC ( [id://614462]=note: print w/replies, xml ) | Need Help?? |
Add in a test for zero -- that passes through this regex, but is not a positive integer by any definition I'm aware of.
In Section
Seekers of Perl Wisdom
|
|