Catalyst-View-Templated
view release on metacpan or search on metacpan
lib/Catalyst/View/Templated.pm view on Meta::CPAN
sub _ident { # secret stash key for this template'
return '__'. ref($_[0]). '_template';
}
=head2 process
Called by Catalyst to render a template. Renders the template
returned by C<< $self->template >> and sets the response body to the
result of the template evaluation.
Also sets up a content-type header for text/html with the charset of
the data (utf8 if the data contains utf8 characters, iso-8859-1
otherwise).
=cut
sub process {
my $self = shift;
# c is also passed, but we don't care anymore
my $template = $self->template;
( run in 2.435 seconds using v1.01-cache-2.11-cpan-524268b4103 )