"be consistent" | |
PerlMonks |
Re: How to identify a number datatype in a string?by Bilbo (Pilgrim) |
on May 09, 2003 at 13:08 UTC ( [id://256848]=note: print w/replies, xml ) | Need Help?? |
The mehod suggested by astaines works but the script he gives does not because perl only warns about adding to non-numeric variables, so this is not caught by the eval. It is therefore necessary to make warnings fatal within the eval block:
In Section
Seekers of Perl Wisdom
|
|