in reply to Exploiting Perls idea of what is a number

What about the good old perlfaq4?

perldoc -q determine presents (regex) ways to determine if a scalar contains a number...

I checked Scalar::Util::looks_like_number and it refers to perlfaq4... ;o)

  • Comment on Re: Exploiting Perls idea of what is a number