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

Re: more reliable exception handling

Thread Previous | Thread Next
From:
Jesse Vincent
Date:
May 4, 2010 09:11
Subject:
Re: more reliable exception handling
Message ID:
20100504161040.GL15832@fsck.bestpractical.com



On Mon, May 03, 2010 at 11:28:34PM +0100, 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'm aware that rgs has already applied this series of patches, but I'm
getting fairly uncomfortable with how quickly and cavalierly we're
making backwards incompatible changes that will affect end-user code.

At a quick skim of the patches, I didn't see an enumerated list of the
changes perl-visible behavior you mentioned here....what are they? 

-Jesse

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