in reply to Re: Re: Re: Re: Re: An obscure side effect?
in thread An obscure side effect?

Off the top of my head, the boolean operators are guaranteed to evaluate their arguments left-to-right, required for short-circuit behaviour. The comma operator is also guaranteed to evaluate arguments left-to-right. And the ternary is guaranteed to evaluate the condition before the other argument it picks, because the one it doesn't pick is guaranteed not to be evaluated.

In other words (besides the comma), all operators which exhibit some form of short circuiting operator (and in Perl, are therefor also useful for flow control).

Makeshifts last the longest.