Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: only want numerics in field

by Limbic~Region (Chancellor)
on Apr 21, 2014 at 15:44 UTC ( #1083033=note: print w/ replies, xml ) Need Help??


in reply to only want numerics in field

newby2perl,
Scalar::Util has a function call looks_like_number(). The only thing is I believe it allows scientific notation which your example doesn't include.

Cheers - L~R


Comment on Re: only want numerics in field

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-08-30 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls