in reply to Re: Re: Re: An obscure side effect?
in thread An obscure side effect?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: An obscure side effect?
by sgifford (Prior) on Aug 04, 2003 at 08:19 UTC | |
by Aristotle (Chancellor) on Aug 05, 2003 at 13:58 UTC |