Welcome to the Monastery | |
PerlMonks |
Re: 1 vs "1"by suaveant (Parson) |
on Sep 12, 2001 at 18:49 UTC ( [id://111920]=note: print w/replies, xml ) | Need Help?? |
There is no way to tell that I know of... in perl 1 is pretty much the same as "1"... however 01 is very different from "01"
it's a tough one... do you know in advance if you are passing an int or a string... give a little more info...
- Ant
In Section
Seekers of Perl Wisdom
|
|