good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: 1 vs "1"by Caillte (Friar) |
on Sep 12, 2001 at 20:50 UTC ( [id://111953]=note: print w/replies, xml ) | Need Help?? |
A limited method, but one that could be built on is to use +0. Using an eval like the example below will return 0 if fed a string containing no numeric characters or the number 0 so, something like this could be a start:
$japh->{'Caillte'} = $me;
In Section
Seekers of Perl Wisdom
|
|