Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: How can I test for the representation of an integer?by BrowserUk (Patriarch) |
on Apr 25, 2016 at 13:31 UTC ( [id://1161449]=note: print w/replies, xml ) | Need Help?? |
Trouble with that is it treats both 1, and '1' (and 1.0 and '1.0') as looking like numbers (albeit with strangely different values of true)
But the OP wants to distinguish between 1 stored internally as an integer; and '1' stored internally as a string. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|