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

Re: deprecating SIGDIE

Thread Previous | Thread Next
Tom Christiansen
October 1, 1999 05:44
Re: deprecating SIGDIE
Message ID:
>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."


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