Just because it hasn't been mentioned yet: Regexp::Common::number and the core looks_like_number, which is basically Perl's core built-in function to check whether a string looks like it contains a number that Perl understands.
In reply to Re: Best practice validating numerics with regex?
by haukex
in thread Best practice validating numerics with regex?
by perlboy_emeritus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |