Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Checking whether a $var is a numberby John M. Dlugosz (Monsignor) |
on Sep 05, 2001 at 02:39 UTC ( [id://110188]=note: print w/replies, xml ) | Need Help?? |
Hmm, when does a scalar convert to 1 when it's not a number? Note that I didn't mention that you should already know that the value is "a string" rather than a reference or funky blessed overloaded object, but carefully worded it because I had that in mind.
In Section
Seekers of Perl Wisdom
|
|