"be consistent" | |
PerlMonks |
Re: only want numerics in fieldby Limbic~Region (Chancellor) |
on Apr 21, 2014 at 15:44 UTC ( [id://1083033]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|