in reply to Custom SIG DIE handler that isn't executed in evals

Doing that from inside the script is not a good idea. That way you won't cover all error cases.

I'd recommend to wrap your script in another one that does that checks and sends you an email if needed.


Search, Ask, Know
  • Comment on Re: Custom SIG DIE handler that isn't executed in evals