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

Re: deprecating SIGDIE

Thread Previous | Thread Next
Nick Ing-Simmons
October 1, 1999 03:46
Re: deprecating SIGDIE
Message ID:
Ilya Zakharevich <> writes:

>What about  __EXCEPTION__ for
>the semantic of "old" __DIE__?

Sigh. Does this mean I would then have to do : 

eval { local $SIG{__EXCEPTION__}; # protect against 5.6 style
       local $SIG{__DIE__};       # protect against 5.005 style
       die "__Tk_break__\n" if (some_condition)

if ($@ eq "__Tk_break__\n")

If so, may I request a new "keyword" ("thow" would seem to suit)
which does not have all these bells, whistles, and baroque twiddly
bits? Can we then change "require" to use "thow" when it cannot load 
something ? So that I can test for availability of things and act 
Nick Ing-Simmons <>
Via, but not speaking for: Texas Instruments Ltd.

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