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

Re: deprecating SIGDIE

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
October 1, 1999 12:04
Subject:
Re: deprecating SIGDIE
Message ID:
199910011904.PAA02072@monk.mps.ohio-state.edu
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.

Ilya

Thread Previous | Thread Next


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