Think about Loose Coupling | |
PerlMonks |
Re^2: Stacking Signal Handlersby saintmike (Vicar) |
on Aug 30, 2010 at 05:34 UTC ( [id://857972]=note: print w/replies, xml ) | Need Help?? |
Installing a signal handler is something that the main process code should do. Not something that happens because of the "use" statement of some module.As long as you're programming simple scripts in a bubble, that assumption might work. If, on the other hand, you're developing a framework to be used by others, you'll realize that this is a real-world problem that needs to be addressed -- ideally by a cookbook solution.
In Section
Seekers of Perl Wisdom
|
|