Keep It Simple, Stupid | |
PerlMonks |
Re^2: How bad is $SIG{__DIE__} really? (global)by tye (Sage) |
on Oct 12, 2016 at 03:36 UTC ( [id://1173788]=note: print w/replies, xml ) | Need Help?? |
If you clean up in destructors, then you don't have to try to trap global events. Having a non-global thing (such as your module) try to trap global events is usually a pretty bad idea, as the methods for trapping such things don't have built-in support for multiple handlers. - tye
In Section
Seekers of Perl Wisdom
|
|