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

Re: Try/Catch Exception Objects: Possible?

Thread Previous | Thread Next
Nick Perez
July 23, 2013 10:45
Re: Try/Catch Exception Objects: Possible?
Message ID:
I don't think that would be a good idea. TryCatch does a lot of fancy
things and requires some rather questionable modules[1]. On top of that,
it has severe performance penalties when compared to properly using


On Tue, 23 Jul 2013 08:48:09 +0000 (UTC)
Ed Avis <> wrote:

> Wouldn't it make the most sense to pull the existing TryCatch module
> into core, and then if wanted add extra core support needed to make
> that module work even better?
> The change could be as simple as having C<use feature 'try'> load the
> TryCatch module.  In a later perl version the try and catch keywords
> could become built in, but with compatible semantics.


Nicholas Perez

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