P is for Practical | |
PerlMonks |
Re: Checking whether a $var is a numberby astaines (Curate) |
on Sep 05, 2001 at 13:57 UTC ( [id://110243]=note: print w/replies, xml ) | Need Help?? |
Use an eval - see the node on How to identify a number datatype in a string? -- Anthony Staines
In Section
Seekers of Perl Wisdom
|
|