in reply to Re: How come @_ gets changed here?
in thread How come @_ gets changed here?
Interesting, a bisect with a test program something like this:
my @a=(3); sub x { @a = map {$_*2} @_; "@_" eq "6" or die } &x(@a);
says that the first bad commit is a5f4850559, which makes v5.24.0, or more specifically v5.23.2, the first version with this behavior. Since that commit is heavy on the internals and I'm not an expert on that, I can't say more at the moment, although it does seem like a regression to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How come @_ gets changed here?
by dave_the_m (Monsignor) on Jun 10, 2017 at 18:07 UTC | |
by haukex (Archbishop) on Jun 11, 2017 at 13:09 UTC | |
by Anonymous Monk on Jun 10, 2017 at 18:56 UTC | |
by dave_the_m (Monsignor) on Jun 10, 2017 at 19:04 UTC | |
by LanX (Saint) on Jun 10, 2017 at 19:16 UTC | |
by LanX (Saint) on Jun 10, 2017 at 19:08 UTC |