summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-20 17:29:32 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-20 17:29:32 +0000
commitf68db8fd5465477b8cf6039df85a68abd0e3edb9 (patch)
tree09b3fd6a931f109da073744b6273d62eb180d550
parentee8371460e62ee3f9ad84082fc359e63a4cef4d4 (diff)
downloadperl-f68db8fd5465477b8cf6039df85a68abd0e3edb9.tar.gz
When you write C<my $_ ; for (...) {...}>, the lexical $_
is not actually introduced by the for statement. p4raw-id: //depot/perl@22352
-rw-r--r--op.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/op.c b/op.c
index bed697dcdf..add8cc9be1 100644
--- a/op.c
+++ b/op.c
@@ -3724,7 +3724,6 @@ Perl_newFOROP(pTHX_ I32 flags,char *label,line_t forline,OP *sv,OP *expr,OP *blo
}
else {
padoff = offset;
- iterpflags = OPpLVAL_INTRO; /* my $_; for () */
}
}
if (expr->op_type == OP_RV2AV || expr->op_type == OP_PADAV) {