summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-11-24 22:19:06 +0000
committerhv <hv@crypt.org>2002-12-02 00:58:54 +0000
commita3985cdcc04b13974afc5f4635645003847806e4 (patch)
tree414f284613a099a7fc5dde52837c3e0f3601fc59 /pp_hot.c
parent9cfe5470b44e33f00045a3b9c3128c6ade6e813f (diff)
downloadperl-a3985cdcc04b13974afc5f4635645003847806e4.tar.gz
allow evals to see the full lexical scope
Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 0b3d6228c3..03855f3671 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2624,8 +2624,8 @@ try_autoload:
CvDEPTH(cv)++;
/* XXX This would be a natural place to set C<PL_compcv = cv> so
* that eval'' ops within this sub know the correct lexical space.
- * Owing the speed considerations, we choose to search for the cv
- * in doeval() instead.
+ * Owing the speed considerations, we choose instead to search for
+ * the cv using find_runcv() when calling doeval().
*/
if (CvDEPTH(cv) < 2)
(void)SvREFCNT_inc(cv);