diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-01-12 15:40:53 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-01-12 15:40:53 +0000 |
commit | 54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c (patch) | |
tree | ea0f085b0ad47fa73e33cfd1b3d15220c2e45a15 /op.c | |
parent | 764289d88134dd8424d60ca15744b687b335cc99 (diff) | |
download | perl-54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c.tar.gz |
Don't warn when localizing $[
p4raw-id: //depot/perl@26803
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |