}
{
- my $output = runperl(prog => <<'EOPROG', stderr => 1);
+ # Need some sort of die or warn to get the global destruction text if the
+ # bug is still present
+ my $output = runperl(prog => <<'EOPROG');
package M;
-sub DESTROY {warn "Farewell $_[0]"}
+$| = 1;
+sub DESTROY {eval {die qq{Farewell $_[0]}}; print $@}
package main;
bless \$A::B, 'M';