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

Re: Try/Catch Exception Objects: Possible?

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
July 23, 2013 16:29
Subject:
Re: Try/Catch Exception Objects: Possible?
Message ID:
20130723162919.GA3451@cancer.codesimply.com
* "David E. Wheeler" <david@justatheory.com> [2013-07-22T17:44:42]
> My guess is that the hard part would be in ensuring backward-compatibility.

Before we think about any of the fairly complicated systems suggested for
backcompat, we should find out how much breakage we'd cause by doing the
simplest thing that could possibly work.

We should apply a patch that does nothing but make internal errors become
objects with overloaded stringification.  Then we can see how much of the core
tests, and of the CPAN, breaks.  We may be surprised by the results.

-- 
rjbs

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