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

Re: Try/Catch Exception Objects: Possible?

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
July 26, 2013 14:40
Subject:
Re: Try/Catch Exception Objects: Possible?
Message ID:
CAHhgV8hawAjDrphU4hWLkvRNfASYz_Dkgsi6ARLZ8U8LC0dy5g@mail.gmail.com
On Fri, Jul 26, 2013 at 2:11 PM, David E. Wheeler <david@justatheory.com> wrote:
> Yeah, this is something I was wondering about, as well.
>
>> That sounds a bit like Yuval's Devel::StackTrace::XS [1]
>
> Hard to tell; no docs!

Right, you have to dig into the C code to see what it does. It saves a
whole bunch of pointers (how much exactly is configurable) to internal
thingies, instead of making perly values of things. It has a separate
function to later turn that into an array of hashes, which you can
subsequently format whatever way you like.

Leon

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