summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-25 06:11:12 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-25 09:42:51 -0800
commit9d056fb0da516ee7e0b8deae1b90a1e2f382c7ec (patch)
treebf79a24b6c8c991ce63edf0bc905ebe9d52c7b58 /pp_ctl.c
parente753e3b14f2b73d39c5b0f4ae0a3b171e8c72823 (diff)
downloadperl-9d056fb0da516ee7e0b8deae1b90a1e2f382c7ec.tar.gz
Stop eval "use 6" from leaking
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 76df2fd162..31c716e4f6 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3443,8 +3443,10 @@ PP(pp_require)
|| strstr(SvPVX(pv),".0") /* FP with leading 0 */
) {
DIE(aTHX_ "Perl %"SVf" required--this is only "
- "%"SVf", stopped", SVfARG(vnormal(req)),
- SVfARG(vnormal(PL_patchlevel)));
+ "%"SVf", stopped",
+ SVfARG(sv_2mortal(vnormal(req))),
+ SVfARG(sv_2mortal(vnormal(PL_patchlevel)))
+ );
}
else { /* probably 'use 5.10' or 'use 5.8' */
SV *hintsv;