develooper Front page | perl.perl5.porters | Postings from September 1999

Re: deprecating SIGDIE

Thread Previous | Thread Next
Ilya Zakharevich
September 30, 1999 14:37
Re: deprecating SIGDIE
Message ID:
On Thu, Sep 30, 1999 at 02:54:58PM -0600, Tom Christiansen wrote:
> The current doc set reads:
> perlfunc/die
>     Because this promotes action at a distance, this counterintuitive
>     behavior may be fixed in a future release.
> perlvar/%SIG
>     Due to an implementation glitch, the C<$SIG{__DIE__}> hook is
>     called even inside an eval().  Do not use this to rewrite a pending
>     exception in C<$@>, or as a bizarre substitute for overriding
>     CORE::GLOBAL::die().  This strange action at a distance may be fixed
>     in a future release so that C<$SIG{__DIE__}> is only called if your
>     program is about to exit, as was the original intent.  Any other
>     use is deprecated.
> As you see, the bug has already been documented, so no one can
> say they didn't know.

Stop this hypocrisy!  First, you exercise your control over docs to
put things there which do not reflect how things are, and then you
quote them to prove your points.

Next thing is you will tell people that (?>...) is more experimental
than (?=...).


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About