http://www.perlmonks.org?node_id=799801


in reply to Re: Capturing stack trace in eval
in thread Capturing stack trace in eval

edit: don't try to use the $SIG{__DIE__} for this. It won't work.

Care to elaborate? Surely it won't work if somebody else fiddles with $SIG{__DIE__}, just like overriding CORE::GLOBAL::die won't work if somebody else fiddles with it at same time.

Perl 6 - links to (nearly) everything that is Perl 6.