summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-12 15:40:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-12 15:40:53 +0000
commit54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c (patch)
treeea0f085b0ad47fa73e33cfd1b3d15220c2e45a15 /op.c
parent764289d88134dd8424d60ca15744b687b335cc99 (diff)
downloadperl-54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c.tar.gz
Don't warn when localizing $[
p4raw-id: //depot/perl@26803
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index 09f269a7ad..6ef7a50bc3 100644
--- a/op.c
+++ b/op.c
@@ -1037,6 +1037,7 @@ Perl_mod(pTHX_ OP *o, I32 type)
case OP_CONST:
if (!(o->op_private & (OPpCONST_ARYBASE)))
goto nomod;
+ localize = 0;
if (PL_eval_start && PL_eval_start->op_type == OP_CONST) {
PL_compiling.cop_arybase = (I32)SvIV(cSVOPx(PL_eval_start)->op_sv);
PL_eval_start = 0;