Unless assignment is just another way to build expressions. See perlop, and note that the assignment operator has associativity and precedence.
Postincrement/postdecrement are tricky beasts. In C (at least in K&R C), their timing is left to the whim of the implementer. The swab() example involves a side-effect (substr() as lvalue), but the timing of the side-effect is well-defined.
In reply to Re: Re: Re: Re: An obscure side effect?
by dws
in thread An obscure side effect?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |