Hi,

Could someone pls explain me behind the hood thing for --
$x = "041"
$y = 12
then $z = $x + $y, how this comes to be numeric addition. This will also be 
seen for any number of those initial zeros in $x and may also exist in similar 
way in $y too. I believe this comes for dynamic languages prop ? If this is so 
then can one do arithmetic(inclusive of comparison tests) freely on such 
situations, without taking into concern whether the $x (for example) above 
comes with zero perpended (for cases of digits from 0-9) or is a two digit 
number itself (like numbers > 10) ? I mean I can do 04 + 12, 00104 + 01, 0101 + 
2.50, 044.25 + 02.50 etc..

Cheers-

  Regards & Thanks


      

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to