I suggest one also meditate on this: &&= and ||= exist; and= and or= do not.
S'funny, but that is exactly what makes them (and & or) so useful in boolean conditions.
But you will not see that usefulness until you cease making an wholly artificial distinction beween "flow control" and whatever you consider to be "non-flow control".
This: my $x = isSomething() and isSomethingElse() ? $p : $q;
is just as much "flow control" as doSomthing() or doSomethingElse();
as is: if( isSomething() and isSomethingElse() ) { ... } else { ... };
In reply to Re^2: Burned by precedence rules
by BrowserUk
in thread Burned by precedence rules
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |