in reply to Re^5: map vs for\foreach.
in thread map vs for\foreach.

So the so called "modified" set isn't really modified because its a post increment.

While being consistent and logic it's indeed surprising, and a good reason to generally prefer pre-increments.

edit

Thanks seems like I have to rethink my habit.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!