![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: Pre vs Post Incrementing variablesby ikegami (Patriarch) |
on Sep 12, 2010 at 16:14 UTC ( [id://859869]=note: print w/replies, xml ) | Need Help?? |
Given my explanation of the problem, the workaround would be to convert the lvalue returns by the pre-increment operator into rvalues.
Technically, the operand evaluation order for the comma operator in list context is not defined, but it's not likely to ever change, especially since the operand evaluation order for the comma operator in scalar context is defined.
In Section
Seekers of Perl Wisdom
|
|