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

Re: Try/Catch Exception Objects: Possible?

Thread Previous | Thread Next
From:
David Golden
Date:
July 25, 2013 13:43
Subject:
Re: Try/Catch Exception Objects: Possible?
Message ID:
CAOeq1c_1naT9S91qZNmKD8wfTNur4iBYDjQDK7ZjYvybnjcYvQ@mail.gmail.com
On Thu, Jul 25, 2013 at 7:03 AM, David E. Wheeler <david@justatheory.com> wrote:
>
> Is the idea, then, that we would have both $@ and @@, the former the exception object, the latter the stack?

Reserving judgment on @@, specifically, yes.

$@ would be $@[0] -- the most recently thrown exception.

-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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