in reply to Re^2: Surprising Precedence/Context
in thread Surprising Precedence/Context

like AnoMonk explained, use the -p switch with B::Deparse to see more parens

D:\Users\lanx>perl -MO=Deparse,-p -e"sub { return 1 and 0 }" sub { ((return 1) and 0); } ; -e syntax OK

Please note that -x7 or higher will also show the equivalence between if and and (albeit in the opposite direction)

D:\Users\lanx>perl -MO=Deparse,-p,-x7 -e"sub { 0 if return 1 }" sub { ((return 1) and 0); } ; -e syntax OK

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!