NAME Catalyst::View::HTML::Template::Compiled - HTML::Template::Compiled View Class SYNOPSIS # use the helper myapp_create.pl view HTML::Template::Compiled HTML::Template::Compiled # lib/MyApp/View/HTML/Template.pm package MyApp::View::HTML::Template::Compiled; use base 'Catalyst::View::HTML::Template::Compiled'; __PACKAGE__->config( # any HTML::Template::Compiled configurations items go here # see HTML::Template::Compiled documentation for more details ); 1; # Meanwhile, maybe in an 'end' action $c->forward('MyApp::View::HTML::Template::Compiled'); DESCRIPTION This is the C view class. Your subclass should inherit from this class. METHODS process Renders the template specified in C<< $c->stash->{template} >>, C<<$c->request->match >>, C<< $c->config->{template}->{filename} >> or C<< __PACKAGE__->config->{filename} >>. Template params are set up from the contents of C<< $c->stash >>, augmented with C set to C<< $c->req->base >> and C to C<< $c->config->{name} >>. Output is stored in C<< $c->response->body >>. config This allows your view subclass to pass additional settings to the HTML::Template config hash. SEE ALSO HTML::Template::Compiled, Catalyst, Catalyst::Base. AUTHOR Sascha Kiefer, "esskar@cpan.org" COPYRIGHT This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.