http://www.perlmonks.org?node_id=110243


in reply to Checking whether a $var is a number

Use an eval - see the node on How to identify a number datatype in a string?

-- Anthony Staines
  • Comment on Re: Checking whether a $var is a number