develooper Front page | perl.perl6.language.errors | Postings from August 2000

Re: $SIG{__DIE__} should be localized and cleared at the startof an eval block

From:
Peter Scott
Date:
August 25, 2000 11:44
Subject:
Re: $SIG{__DIE__} should be localized and cleared at the startof an eval block
Message ID:
4.3.2.7.2.20000825091403.00bcc8f0@psdt.com

>My statement: this shouldn't be the programmer's responsibility. If
>you're using other people's modules that depend on eval, you're in
>trouble anyway. The "local $SIG{__DIE__};" statement should be implicit
>at the start of the eval block.

Why wouldn't you want to just get rid of the whole construct?  Is there any 
need for it?
--
Peter Scott
Pacific Systems Design Technologies




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