develooper Front page | perl.perl5.porters | Postings from July 2013

Re: Try/Catch Exception Objects: Possible?

Thread Previous | Thread Next
From:
David E. Wheeler
Date:
July 25, 2013 11:20
Subject:
Re: Try/Catch Exception Objects: Possible?
Message ID:
A19ACC76-129C-46F4-9F1C-9EF2D42E1E0F@justatheory.com
On Jul 25, 2013, at 1:18 PM, Victor Efimov <victor@vsespb.ru> wrote:

> * Edit $Config{sitelib}/sitecustomize.pl and have it either replace CORE::die or set $SIG{__DIE__} to use the exception object.
> 
> * Run the test suite and see what happens.
> 
> 
> some modules set own local SIG __DIE__ so such test won't be 100% accurate

A. It’s a start; and
B. Replacing CORE::die (possible?) might be better

Best,

David
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