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.
In reply to Re: How "safe" is die() in %SIG?
by bart
in thread How "safe" is die() in %SIG?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |