|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^4: Numification of stringsby ww (Chancellor) |
| on Aug 02, 2010 at 18:27 UTC ( #852514=note: print w/ replies, xml ) | Need Help?? |
|
"As you can see $a is a string "PV", while $b is an int "IV", even thought it was never used in an numeric context." If you mean what I think you mean -- that $b is an int BECAUSE it was never used in a numeric content -- I think you're wrong, morgon: $b IS an IV, because it was instantiated that way... as an integer, without quotes that would have made it a string. Update: Maybe I have the code tags right... at last.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||