summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAdrian M. Enache <enache@rdslink.ro>2003-02-21 19:50:14 +0200
committerhv <hv@crypt.org>2003-02-25 14:04:03 +0000
commit83b43d9236da9ea6e31fd2df2474f4d7f7220a85 (patch)
treec714305243ad881b977e2feefafca87189030239 /op.c
parent22e13caa16a0052ac27896caeb4c33581f86e239 (diff)
downloadperl-83b43d9236da9ea6e31fd2df2474f4d7f7220a85.tar.gz
[perl #20682] [fix] @- array not visible in s///
Message-ID: <20030221155014.GB793@ratsnest.hole> p4raw-id: //depot/perl@18776
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index e4f22cc0bc..a89d29d37d 100644
--- a/op.c
+++ b/op.c
@@ -2630,7 +2630,7 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl)
if (curop->op_type == OP_GV) {
GV *gv = cGVOPx_gv(curop);
repl_has_vars = 1;
- if (strchr("&`'123456789+", *GvENAME(gv)))
+ if (strchr("&`'123456789+-", *GvENAME(gv)))
break;
}
else if (curop->op_type == OP_RV2CV)