in reply to Re^3: Custom SIG DIE handler that isn't executed in evals
in thread Custom SIG DIE handler that isn't executed in evals

But what to do when the eval is deep within a bunch of system modules?

see perlvar#$^S

  • Comment on Re^4: Custom SIG DIE handler that isn't executed in evals