Mojolicious::Plugin::TtRenderer - Template Renderer Plugin
# Mojolicious $self->plugin('tt_renderer'); $self->plugin(tt_renderer => {template_options => {FILTERS => [ ... ]}}); # Mojolicious::Lite plugin 'tt_renderer'; plugin tt_renderer => {template_options => {FILTERS => [ ... ]}};
Mojolicous::Plugin::TtRenderer is a simple loader for MojoX::Renderer::TT.
Mojolicious::Plugin::TtRenderer inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register renderer in Mojolicious application.
MojoX::Renderer::TT, Mojolicious, Mojolicious::Guides, http://mojolicious.org.
To install MojoX::Renderer::TT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Renderer::TT
CPAN shell
perl -MCPAN -e shell install MojoX::Renderer::TT
For more information on module installation, please visit the detailed CPAN module installation guide.