diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-11-25 06:11:12 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-25 09:42:51 -0800 |
commit | 9d056fb0da516ee7e0b8deae1b90a1e2f382c7ec (patch) | |
tree | bf79a24b6c8c991ce63edf0bc905ebe9d52c7b58 /pp_ctl.c | |
parent | e753e3b14f2b73d39c5b0f4ae0a3b171e8c72823 (diff) | |
download | perl-9d056fb0da516ee7e0b8deae1b90a1e2f382c7ec.tar.gz |
Stop eval "use 6" from leaking
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |