develooper Front page | perl.perl6.language | Postings from March 2006

where will we die to?

Thread Next
From:
Yuval Kogman
Date:
March 23, 2006 04:27
Subject:
where will we die to?
Message ID:
20060323122707.GD30411@woobling.org
on the #catalyst channel today we had lots of pains debugging where
a die will go to eventually, within a cascade of eval { }s and what
not.

In Perl 6 one thing that could ease this is to be able to easily
know where we will die to, without having to walk the stack and
checking which scope entries have a catch block.

The other thing is to be able to trace an exception: if we have 'die
"foo" but traced' then the exception should print "cought at ....
rethrowed" as it's doing that.

This second thing is much harder for me to pretend to implement

-- 
 ()  Yuval Kogman <nothingmuch@woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me tips over a cow: neeyah!!!!!!!!!!!!!!!!!!!!!!


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