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

Re: Try::Tiny in Core?

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
April 2, 2010 13:49
Subject:
Re: Try::Tiny in Core?
Message ID:
4BB6584A.4060306@pobox.com
Alberto Simões wrote:
> Don't want big discussion on it. I accept a "no" easily. But I think
> Try::Tiny would be a great addition to Perl 5.12
> 
> Why?
> 
> It makes error handling clean.
> It is small.
> It has a nice syntax.

Rather than Try::Tiny, I would love to see similar try/catch/finally exception 
handling syntax and behavior as a real op in 5.14.  It would likely be far 
cleaner and faster than wrapping around eval BLOCK.


-- 
185. My name is not a killing word.
     -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
            http://skippyslist.com/list/

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