in reply to Re: How come @_ gets changed here?
in thread How come @_ gets changed here?

I guess they did some optimization to speed up code execution and never expected/tested such a weird case where the same values are at LHS as closed overs and at RHS as aliases.

The gaps indicate side effects from changing the execution/evaluation order.

Edit: like not caching a list of the map but iterating and setting each element directly.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!