diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-07-15 12:47:50 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-07-15 12:47:50 +0000 |
commit | e682d7b7fae5a50c5afb147f913a4e88d7261606 (patch) | |
tree | 644c399b397737feec6637e4339926ef7c874e65 /pp_ctl.c | |
parent | d46f46af75970be4ecf8811cc8d1ad9bcd7df36c (diff) | |
download | perl-e682d7b7fae5a50c5afb147f913a4e88d7261606.tar.gz |
for (reverse @foo) now iterates in reverse in place.
p4raw-id: //depot/perl@23115
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1811,7 +1811,7 @@ PP(pp_enteriter) } } else if (PL_op->op_private & OPpITER_REVERSED) { - cx->blk_loop.itermax = 0; + cx->blk_loop.itermax = -1; cx->blk_loop.iterix = AvFILL(cx->blk_loop.iterary); } |