This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
serious bug introduced by G_VOID changes in 5.003_96: scalar
[perl5.git] / pp_ctl.c
index 5e45a9c..5f937ba 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3124,6 +3124,7 @@ PP(pp_leaveeval)
            MEXTEND(mark,0);
            *MARK = &PL_sv_undef;
        }
+       SP = MARK;
     }
     else {
        /* in case LEAVE wipes old return values */