in reply to Re: Order of operations, mutators, aliasing and whammies
in thread Order of operations, mutators, aliasing and whammies
I disagree with the last piece of advice. Perl does have a defined order of evaluation; it is just not the same as your (or my) assumptions.
Imagine that Perl did not have such a defined order of evaluation. How can I trust
always prints 6, and not 5 (and a warning)?print 5+1;
update: I see that I was confusing precedence and evaluation order.
In Section
Meditations