in reply to Best practice validating numerics with regex?
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.
|
|---|