Superlman has asked for the wisdom of the Perl Monks concerning the following question:
Just a quickie:
I have a function which does two different things depending on whether or not it is passed an integer or a string.
I have a function which does two different things depending on whether or not it is passed an integer or a string.
The problem is that sometimes the string I pass IS an integer! How can I tell the difference?
(On another note, whenever I preview this, I have to re-add the "1" in the title, as it disappears from the input box. Is this a bug?)
Back to
Seekers of Perl Wisdom