There is also Regexp::Common. Ex:
if ( $RE{num}{int}->matches($text) ) {...}This library is cool because you can refine/define exactly what you mean by number.
In reply to Re: A function to determine if a string is numeric
by trwww
in thread A function to determine if a string is numeric
by juliosergio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |