Syntactic Confectionery Delight | |
PerlMonks |
Re: Precedence for Idiotsby hippo (Bishop) |
on Mar 15, 2020 at 17:03 UTC ( [id://11114300]=note: print w/replies, xml ) | Need Help?? |
The penultimate row of the table in the "Logical Questions" section seems incorrect to me.
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:
Now the first term is clearly true and the second term evaluates to 3 as intended.
In Section
Tutorials
|
|