[Catalyst] New Root Controller in Catalyst 5.66

Matt S Trout dbix-class at trout.me.uk
Sat May 6 17:50:25 CEST 2006


phaylon wrote:
> Matt S Trout said:
>>>>> sub end : Private {
>>>>>     my ( $self, $c ) = @_;
>>>>>
>>>>>     #code before view
>>>>>
>>>>>     $c->NEXT::end( $c );
>>>>>
>>>>>     #code after view
>> Did you change your code to match what I suggested? I'm using this in
>> half a dozen apps, so it definitely *does* work if you get it right.
> 
> Sure you didn't mean C<< $self->NEXT::end( $c ) >> instead of using $c as
> invocant?

Damn. Code blind. Yes.



More information about the Catalyst mailing list