From: "Tye McQueen" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-9960-
1216238547-448.57016-75-0@perl.org>
p4raw-id: //depot/perl@34312
}
elsif ($prevwarn) {
$SIG{__WARN__} = $prevwarn;
+ } else {
+ undef $SIG{__WARN__};
}
} ## end if (@_)
$warnLevel;
elsif ($prevdie) {
$SIG{__DIE__} = $prevdie;
print $OUT "Default die handler restored.\n";
+ } else {
+ undef $SIG{__DIE__};
+ print $OUT "Die handler removed.\n";
}
} ## end if (@_)
$dieLevel;