summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-18 21:41:57 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-18 21:41:57 +0000
commit1aff0e911b5282f0638dc0d8199ffa4edf98f89c (patch)
tree739e6a5e7e8b085c24d38adf5e1dcd0975de78da /pp_ctl.c
parent08cdc9a35d157219f769511762b78adf22ca040a (diff)
downloadperl-1aff0e911b5282f0638dc0d8199ffa4edf98f89c.tar.gz
distinguish eval'' from BEGIN|INIT|END CVs (fixes buggy propagation
of lexical searches in BEGIN|INIT|END) p4raw-id: //depot/perl@2975
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 52fcf96016..df2a962545 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2619,7 +2619,7 @@ doeval(int gimme, OP** startop)
SAVESPTR(PL_compcv);
PL_compcv = (CV*)NEWSV(1104,0);
sv_upgrade((SV *)PL_compcv, SVt_PVCV);
- CvUNIQUE_on(PL_compcv);
+ CvEVAL_on(PL_compcv);
#ifdef USE_THREADS
CvOWNER(PL_compcv) = 0;
New(666, CvMUTEXP(PL_compcv), 1, perl_mutex);