develooper Front page | perl.perl5.porters | Postings from May 2010

Re: more reliable exception handling

Thread Previous | Thread Next
Andy Dougherty
May 4, 2010 09:47
Re: more reliable exception handling
Message ID:
On Mon, 3 May 2010, Zefram wrote:

> Attached is a sequence of patches relating to die().  It fixes RT #74538,
> along with moving more fully away from the historical requirement for
> exceptions be no more than strings.  It also fixes the issue with $@
> clobbering, which I've previously mentioned as a scoping/exception
> problem.  An overall theme for the patches is that $@ is currently given
> too many jobs, some of them conflicting, so I've relieved it of some
> of them.

> There are some changes in Perl-visible behaviour here.  All the ones I
> know about are intentional.  No doubt someone will find some code that
> gets broken by it.  Let the bun fight begin.

I like the general gist of this, but I'm afraid I don't find this 
description of the proposed changed behavior particularly helpful.  Could 
you be explicit about which "jobs" $@ has been relieved of, and what those 
"some changes" are?  I do see the patch to perlcall.pod, but your general 
comments above make me wonder if there is anything else that has changed.


    Andy Dougherty

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