NAME Catalyst::View::HTML::Template::Compiled - HTML::Template::Compiled View Class SYNOPSIS # use the helper script/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( use_default_path => 0, # defaults to 1 # 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 "HTML::Template::Compiled" view class. Your subclass should inherit from this class. METHODS process Renders the template specified in *$c->stash->{template}*, *$c->request->match*, *$c->config->{template}->{filename}* or *__PACKAGE__->config->{filename}*. Template params are set up from the contents of *$c->stash*, augmented with "base" set to *$c->req->base*, *name* to *$c->config->{name}* and *c* to *$c*. Output is stored in *$c->response->body*. config "use_default_path": if set, will include *$c->config->{root}* and *$c->config->{root} . '/base'* to look for the template. *Defaults to 1*. This also allows your view subclass to pass additional settings to the "HTML::Template::Compiled" 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.