This passed my desk today...
$ perl -e 'my $a=(1 == 1) && (0);print "$a\n";'
$ perl -e 'my $a=(1 == 1) and (0);print "$a\n";'
$ perl -e 'my $a=((1 == 1) and (0));print "$a\n";'
I must admit that I would have expected the result to be the same, yet it appears that the binary and forgets the boundaries of it's condition and always evaluates to true if the left hand condition is true while not encapsulated by parantheses to mark the boundary. Is my interpretation of perldoc perlop wrong or do I need more coolaid?
Confucius says kill mosquito unless cannon