in reply to Re: How bad is $SIG{__DIE__} really?
in thread How bad is $SIG{__DIE__} really?
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How bad is $SIG{__DIE__} really? (global)
by stevieb (Canon) on Oct 12, 2016 at 12:36 UTC |
In Section
Seekers of Perl Wisdom