I could just return the handler to install and let the user do the local($SIG{..}) in the correct scope... That's an awkward interface, but might but useful in some circumstances.
Thanks for your comments
In reply to Re^2: die/warn signal handler best practice questions
by bsb
in thread die/warn signal handler best practice questions
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |