![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: (jeffa) Re: 1 vs "1"by davorg (Chancellor) |
on Sep 12, 2001 at 19:11 UTC ( #111925=note: print w/replies, xml ) | Need Help?? |
Unless I misunderstood the original question, this doesn't answer it. I read it to mean that if you had two scalars like this:
how would you tell which is a string and which is a number. I don't think your solution addresses this. Oh, and your regex to check for floating point numbers could use some work too :) --<http://www.dave.org.uk> Perl Training in the UK <http://www.iterative-software.com>
In Section
Seekers of Perl Wisdom
|
|