This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
No longer mention some uses of $SIG {__DIE__} are deprecated.
authorAbigail <abigail@abigail.be>
Thu, 24 Nov 2016 12:57:23 +0000 (13:57 +0100)
committerAbigail <abigail@abigail.be>
Mon, 16 Jan 2017 18:18:14 +0000 (19:18 +0100)
commit4a29ab5ede4282c69f475fe7125e219533fba149
tree9fe060a79ab82760d7b94319820a03a6f14f8027
parent2560602ccfb78a9b4743012af45eeb2e7b74e47e
No longer mention some uses of $SIG {__DIE__} are deprecated.

The C<$SIG{__DIE__}> hook is called even inside an C<eval()>. It was
never intended to happen this way, but an implementation glitch made
this possible. This used to be deprecated, as it allowed strange action
at a distance like rewriting a pending exception in C<$@>. Plans to
rectify this have been scrapped, as users found that rewriting a
pending exception is actually a useful feature, and not a bug.
pod/perldeprecation.pod
pod/perlvar.pod