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?
_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/