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

Re: deprecating SIGDIE

Thread Previous | Thread Next
Ilya Zakharevich
October 1, 1999 12:04
Re: deprecating SIGDIE
Message ID:
Nick Ing-Simmons writes:
> 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?

You mean you cannot code:

sub register_error {
  local @SIG{ qw(__DIE__ __EXCEPTION__) };
  die @_;


Btw, if all you want is putting error message in $@, why not use
${'@@'} instead?  ;-) Make your evals put things *there*, and check
this location.


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