Just another Perl shrine | |
PerlMonks |
Re: Comparison based on type of value held by variablesby ioannis (Abbot) |
on Oct 18, 2005 at 14:52 UTC ( [id://501001]=note: print w/replies, xml ) | Need Help?? |
Instead of regexp recipes, you can always perform
the addition and catch the exception. The FATAL keyword
bellow will elevate the warning to an exception - check
$0 to find if one was raised. (Normally, statements like
$var = '3a' + 3 are not fatal.)
In Section
Seekers of Perl Wisdom
|
|