in reply to Re: Check for Positive Integer entry only
in thread Check for Positive Integer entry only
That also passes for "123\n" which could be good or bad. Use \z instead of $ if you don't want to allow a trailing \n.
In Section
Seekers of Perl Wisdom