Front page | perl.perl5.porters |
Postings from October 1999
Re: deprecating SIGDIE
Thread Previous
|
Thread Next
From:
Nick Ing-Simmons
Date:
October 1, 1999 03:46
Subject:
Re: deprecating SIGDIE
Message ID:
199910011044.LAA16906@tiuk.ti.com
Ilya Zakharevich <ilya@math.ohio-state.edu> 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
accordingly.
--
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
Thread Previous
|
Thread Next