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 => [ ... ]}};
Mojolicious::Plugin::TtRenderer is a simple loader for Mojolicious::Plugin::TtRenderer::Engine.
Mojolicious::Plugin::TtRenderer inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register renderer in Mojolicious application.
The current controller instance can be accessed as c.
c
[% c.req.headers.host %]
Mojolicious::Plugin::TtRenderer::Engine, Mojolicious, Mojolicious::Guides, http://mojolicious.org.
Current maintainer: Graham Ollis <plicease@cpan.org>
<plicease@cpan.org>
Original author: Ask Bjørn Hansen, <ask at develooper.com>
<ask at develooper.com>
Please report any bugs or feature requests to the project's github issue tracker https://github.com/abh/mojox-renderer-tt/issues?state=open.
You can find documentation for this module with the perldoc command.
perldoc Mojolicious::Plugin::TtRenderer
You can also look for information at:
git repository
http://git.develooper.com/?p=MojoX-Renderer-TT.git;a=summary, git://git.develooper.com/MojoX-Renderer-TT.git
http://github.com/abh/mojox-renderer-tt/
CPAN Ratings
http://cpanratings.perl.org/d/MojoX-Renderer-TT
Search CPAN
http://search.cpan.org/dist/MojoX-Renderer-TT/
Copyright 2008-2010 Ask Bjørn Hansen, all rights reserved.
Copyright 2012 Graham Ollis.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::TtRenderer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::TtRenderer
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::TtRenderer
For more information on module installation, please visit the detailed CPAN module installation guide.