Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Filter "Nan" from user input
by jdporter (Paladin) on Oct 12, 2006 at 19:09 UTC

    Perhaps Scalar::Util::looks_like_number would work for you...

    We're building the house of the future together.
Re: Filter "Nan" from user input
by doowah2004 (Monk) on Oct 12, 2006 at 20:22 UTC
    Check out test::numeric