Perl: the Markov chain saw | |
PerlMonks |
Re: Check user input - reimplementationby YuckFoo (Abbot) |
on Dec 15, 2003 at 18:48 UTC ( [id://314876]=note: print w/replies, xml ) | Need Help?? |
kiat, Your numeric check is pretty weak. I think it should at least allow for a leading '-'. For some ideas for numeric regex checks see perlman: perlfaq4 or do perldoc -q 'is a number' from your command line. YuckFoo
In Section
Seekers of Perl Wisdom
|
|