Re: rethrow_exception: $@ garbled

Dave Rolsky <[email protected]> Tue, 30 Jan 2007 13:51:59 -0600 (CST)
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Tue, 30 Jan 2007, Dmitry Karasik wrote:

> I'm curious if anyone noticed the fact that rethrow_exception that is 
> called from Mason $SIG{__DIE__} doesn't care about $^S, which results in 
> nasty garbled $@ when die is (legitimately) issued inside eval? I'd send 
> a patch, which is trivial (return if $^S) but I'd like to know if there 
> are reasons why it is not done already.

I don't think there's any reason it's not a done. A patch with a test 
would be ideal.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV