summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-08 10:00:38 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-08 16:17:03 -0700
commite157a82b7da0adb94ee8eb516fa3b8da06977900 (patch)
treee1b22455a336fab192331374821baad3fb26b1b5 /pp.c
parent7eeb6e4ece329a87e4a71555a3e99a1da2a21bb4 (diff)
downloadperl-e157a82b7da0adb94ee8eb516fa3b8da06977900.tar.gz
Make __SUB__ work in special blocks
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 0066513202..d482286f8e 100644
--- a/pp.c
+++ b/pp.c
@@ -5931,7 +5931,7 @@ PP(pp_runcv)
oldsi->si_cxix = oldcxix;
}
else cv = find_runcv(NULL);
- XPUSHs(CvUNIQUE(cv) ? &PL_sv_undef : sv_2mortal(newRV((SV *)cv)));
+ XPUSHs(CvEVAL(cv) ? &PL_sv_undef : sv_2mortal(newRV((SV *)cv)));
RETURN;
}