Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

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 chanting in the Monastery: (3)
As of 2016-09-25 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (464 votes). Check out past polls.