[Israel.pm] A bug in Perl ?

Yossi Itzkovich Yossi.Itzkovich at ecitele.com
Thu Feb 8 04:03:56 PST 2007


Hi,

For this code:
perl -we '$a=(1||0&&0); print  $a'
I get "1",  although I should get "0"  . 

Isn't it a bug ?

I am using perl v5.8.4

Thanks

Yossi




More information about the Perl mailing list