in reply to How "safe" is die() in %SIG?
What isn't safe is asynchronous signal handlers, those that can be invoked wherever your script is at, even in the middle of executing another, non-reentrant action. die()is executed synchronously, so it's very safe indeed.
|
|---|