This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #78194] Make foreach copy pad tmps
authorFather Chrysostomos <sprout@cpan.org>
Sun, 23 Jun 2013 14:06:49 +0000 (07:06 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 26 Jul 2013 06:48:00 +0000 (23:48 -0700)
commit8e079c2a69673209538b040ae2389f2248682dd9
tree7d6713e372f09863aebeb79c1d1d3d5e4f4de6ad
parentd010231af4b76dbdbd48df7f731ff59907fde4a6
[perl #78194] Make foreach copy pad tmps

before aliasing them to $_.

This caused one to-do test in sub.t to pass, but the bug it is testing
for has not been fixed, so I added another one.  I didn’t remove the
to-do test that started passing, because it is still a good test to
have (the only test we have for interactions betwen foreach, shared
hash keys, and recursion).
pp_hot.c
t/cmd/for.t
t/op/sub.t