[Catalyst] New Root Controller in Catalyst 5.66
    Matt S Trout 
    dbix-class at trout.me.uk
       
    Thu May  4 16:18:22 CEST 2006
    
    
  
T. H. Lin wrote:
> after reading
> http://www.catalystframework.org/calendar/2005/8
> 
> I did
> # in MyAPP.pm
> use Catalyst qw/-Debug
>                 ConfigLoader
>                 Static::Simple
>                 ..../;
> 
> # in MyApp/Controller/Root.pm
use base qw/Catalyst::Controller Catalyst::Plugin::DefaultEnd/;
> sub end : Private {
>     my ( $self, $c ) = @_;
> 
>     #code before view
> 
>     $c->NEXT::end( $c );
> 
>     #code after view
> }
All works fine; this is what I usually do.
    
    
More information about the Catalyst
mailing list