The penultimate row of the table in the "Logical Questions" section seems incorrect to me.
$ perl -E '$x = 1 == 2 && 3; say $x;' $
This is what I would expect since 1 == 2 is clearly false so $x is false and the right hand side of the && is never evaluated. Perhaps you meant this instead:
$ perl -E '$x = 2 == 2 && 3; say $x;' 3 $
Now the first term is clearly true and the second term evaluates to 3 as intended.
In reply to Re: Precedence for Idiots
by hippo
in thread Precedence for Idiots
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |