http://qs1969.pair.com?node_id=289310


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
print 5+1;
always prints 6, and not 5 (and a warning)?

update: I see that I was confusing precedence and evaluation order.