text if the bug is still present.
p4raw-id: //depot/perl@24973
}
{
+ # 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;
$| = 1;
-sub DESTROY {print qq{Farewell $_[0]}}
+sub DESTROY {eval {die qq{Farewell $_[0]}}; print $@}
package main;
bless \$A::B, 'M';