in reply to Re: Pre vs Post Incrementing variables
in thread Pre vs Post Incrementing variables

I don't see how this is a precedence problem, ++ has tighter precedence than the comma, both for pre- and post increment - no surprises here.

Also adding parens around the (++$i) doesn't change anything.

Perl 6 - links to (nearly) everything that is Perl 6.