summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJeff Pinyan <japhy@pobox.com>2001-03-03 12:14:07 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-04 18:07:48 +0000
commitdb615365202f390b6c9c07819116dcb70ebcf654 (patch)
tree48836e9957aa485d2e53b327f93619a8aa8e3dfd /pp_hot.c
parent7c95f590e1d3e90413f423893f54acc0b5dc228c (diff)
downloadperl-db615365202f390b6c9c07819116dcb70ebcf654.tar.gz
pattern in G_ARRAY context
Message-ID: <Pine.GSO.4.21.0103031712070.1035-100000@crusoe.crusoe.net> p4raw-id: //depot/perl@9018
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 51229bb351..711b560b8b 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1249,7 +1249,7 @@ PP(pp_match)
}
}
}
- if ((gimme != G_ARRAY && !global && rx->nparens)
+ if ((!global && rx->nparens)
|| SvTEMP(TARG) || PL_sawampersand)
r_flags |= REXEC_COPY_STR;
if (SvSCREAM(TARG))