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

Re: deprecating SIGDIE

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
October 1, 1999 05:44
Subject:
Re: deprecating SIGDIE
Message ID:
199910011243.GAA25587@jhereg.perl.com
>That is true of __DIE__ these days too - but it can re-throw an 
>alternative e.g. what do you do with :

>$SIG{__EXCEPTION__} = sub { die "Gibberish" };
>eval { die "Sanity" };
>print $@;

>Which is in essence what all the local hackery is to protect against.

This seems to fall into the category of "Any bug that causes every eval {}
to have to be modified should be not so politely squashed."

--tom

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About