I just ran into this today, and have no clue what's going on:

% perl -e 'print 10-5.5, "\n"'
4.5
% perl -e 'print 10-05.5, "\n"'
55

How does 10 minus 5.5 equal 55?  Obviously it's the leading zero, but I
can't think of any reason why it should do that...

- B



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to