Bryan Harris:

> 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

Nice catch. I would also have assumed that the '.' is stronger that the
octal-0. I still think it should be.

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
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