in reply to Re^2: Leading Zeros confound eval() ?
in thread Leading Zeros confound eval() ?

BTW, official Perl documentation on this is here. Another difference is that underscores are not handled when strings are converted to numbers:

$ perl -wMstrict -le 'print 0+ 1_234 ' 1234 $ perl -wMstrict -le 'print 0+"1_234"' Argument "1_234" isn't numeric in addition (+) at -e line 1. 1

Replies are listed 'Best First'.
Re^4: Leading Zeros confound eval() ?
by misterperl (Friar) on Jul 21, 2015 at 19:19 UTC
    wow, I'm surprised by THAT also. Thanks again, very interesting results.