From: Yuval Kogman Date: Thu, 28 Jan 2010 15:07:44 +0000 (+0100) Subject: Document $SIG{__DIE__} behavior (or lack thereof) X-Git-Tag: Try-Tiny-0.05~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eaca95b7b9a5f2db29bab5e5634e40d9e089ec82;p=p5sagit%2FTry-Tiny.git Document $SIG{__DIE__} behavior (or lack thereof) --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index ee62dec..faf294d 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -433,6 +433,15 @@ the C block: return unless $obj; +=item * + +C<$SIG{__DIE__}> is still in effect. + +Though it can be argued that C<$SIG{__DIE__}> should be disabled inside of +C blocks, since it isn't people have grown to rely on it. Therefore in +the interests of compatibility, C does not disable C<$SIG{__DIE__}> for +the scope of the error throwing code. + =back =head1 SEE ALSO