plugins; was Re: [Catalyst] debug mode

mla maurice.aubrey at gmail.com
Wed Jun 6 20:29:12 GMT 2007


Matt S Trout wrote:
> On Tue, Jun 05, 2007 at 01:42:42PM -0700, Michael Reece wrote:
>>>>  sub _ACTION : Pricvate {
>>>>    my ($self, $c) = @_;
>>>>    $self->_context($c);
>>>>    $self->SUPER::_ACTION($c);
>>>>  }
>>> That's not only in the wrong place to work for begin/end/auto it  
>>> screws up
>>> the destruction process and is therefore really really dangerous.
>> i had a feeling it was less than ideal, which is why i threw it out  
>> there.  can you clarify what you mean about the destruction process?   
>> i don't see anything special in ACCEPT_CONTEXT.pm to deal with that..

Is it not possible to offer the current Catalyst instance through
a class method? Something analogous to Apache->request, rather than
having to do the whole ACCEPT_CONTEXT prototype object thing?





More information about the Catalyst mailing list