http://www.perlmonks.org?node_id=860102


in reply to Pre vs Post Incrementing variables

My guess: the entire right hand expression is evaluated before assignments are made. Reasonable except when you want something else, but in that case, what should the rule be instead?