in reply to Re: Match number >= 0 and <1
in thread Match number >= 0 and <1

For "2." above, I recommend using looks_like_number() from Scalar::Util which is in the standard Perl distribution. (Be sure to upgrade Scalar::Util to latest version from CPAN.)

Remember: There's always one more bug.