Re: after method modifier and die

[email protected] (Stevan Little)
Newsgroups perl.moose
Message-ID <[email protected]>
Method modifiers do not handle exceptions, so if mymeth, or any of the attached before/after/around modifiers, will die.

- Stevan


On Mar 15, 2011, at 5:54 AM, Rolf Schaufelberger wrote:

> Hi, 
> I'm just wondering, if a   after  'mymeth' => sub {…}: 
> will be called , even when  mymeth dies ?
> If so, is there a way to find out, if mymeth died or finshed sucessfully?
> 
> Rolf Schaufelberger
> 
> 
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.