in reply to
Valid Numbers or decimals
Check out
Regexp::Common::number
-- it should be able to handle all kinds of cases (even ones you may not need like scientific notation)
Also check out this recent node
dependable way to test for a float
for more related comments.
Comment on
Re: Valid Numbers or decimals
In Section
Seekers of Perl Wisdom