diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-10-02 22:38:27 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-10-11 00:10:15 -0700 |
commit | d39c26a657753cddffc8cb3dbd2aaa929b2c78fe (patch) | |
tree | e3061d7ad6cb247565e7ce16a74db2eddc5a07e7 /pp_hot.c | |
parent | 5a36b2c090849e18b86c1759887c5bcebd598113 (diff) | |
download | perl-d39c26a657753cddffc8cb3dbd2aaa929b2c78fe.tar.gz |
foreach \$var
Some passing tests are still marked to-do. We need more tests still.
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1963,6 +1963,11 @@ PP(pp_iter) sv = AvARRAY(av)[ix]; } + if (UNLIKELY(cx->cx_type & CXp_FOR_LVREF)) { + SvSetMagicSV(*itersvp, sv); + break; + } + if (LIKELY(sv)) { if (UNLIKELY(SvIS_FREED(sv))) { *itersvp = NULL; |