Catalyst-View-TT
view release on metacpan or search on metacpan
duplicate checking and the chance of a memory leak:
@{ $c->view('Web')->include_path } = qw/path another_path/;
If you are calling "render" directly then you can specify dynamic paths
by having a "additional_template_paths" key with a value of additional
directories to search. See "CAPTURING TEMPLATE OUTPUT" for an example
showing this.
Unicode (pre Catalyst v5.90080)
NOTE Starting with Catalyst v5.90080 unicode and encoding has been baked
into core, and the default encoding is UTF-8. The following advice is
for older versions of Catalyst.
Be sure to set "ENCODING => 'utf-8'" and use
Catalyst::Plugin::Unicode::Encoding if you want to use non-ascii
characters (encoded as utf-8) in your templates. This is only needed if
you actually have UTF8 literals in your templates and the BOM is not
properly set. Setting encoding here does not magically encode your
template output. If you are using this version of Catalyst you need to
all the Unicode plugin, or upgrade (preferred)
lib/Catalyst/View/TT.pm view on Meta::CPAN
checking and the chance of a memory leak:
@{ $c->view('Web')->include_path } = qw/path another_path/;
If you are calling C<render> directly then you can specify dynamic paths by
having a C<additional_template_paths> key with a value of additional directories
to search. See L</CAPTURING TEMPLATE OUTPUT> for an example showing this.
=head2 Unicode (pre Catalyst v5.90080)
B<NOTE> Starting with L<Catalyst> v5.90080 unicode and encoding has been
baked into core, and the default encoding is UTF-8. The following advice
is for older versions of L<Catalyst>.
Be sure to set C<< ENCODING => 'utf-8' >> and use
L<Catalyst::Plugin::Unicode::Encoding> if you want to use non-ascii
characters (encoded as utf-8) in your templates. This is only needed if
you actually have UTF8 literals in your templates and the BOM is not
properly set. Setting encoding here does not magically encode your
template output. If you are using this version of L<Catalyst> you need
to all the Unicode plugin, or upgrade (preferred)
( run in 0.906 second using v1.01-cache-2.11-cpan-88abd93f124 )