All interesting suggestions so far - but we found too many issues with setting up DIE signal handlers for us to trust it in production
I have production code doing the type of logging you want to do (along with email notification of failure results, full stack traces and win32::eventlog support.) So im curious as to which "issues" you encountered. I attach $SIG{__WARN__} and $SIG{__DIE__} handlers, and ive had no problems.
In reply to Re: Re: die function and notifications
by demerphq
in thread die function and notifications
by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |