Mojolicious::Plugin::Template::Mustache - Mojolicious Plugin
# Mojolicious $self->plugin('Template::Mustache'); # Mojolicious::Lite plugin 'Template::Mustache'; get '/inline' => sub { my $c = shift; $c->render( handler => 'mustache', inline => 'Inline hello, {{message}}!', message => 'Mustache', ); };
Mojolicious::Plugin::Template::Mustache is a Mojolicious plugin.
Mojolicious::Plugin::Template::Mustache inherits all methods from Mojolicious::Plugin.
Mojolicious, Mojolicious::Guides, http://mojolicious.org, http://mustache.github.io, Template::Mustache.
Cyrill Novgorodcev <cynovg@cpan.org>
Copyright 2017 Cyrill Novgorodcev. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install Mojolicious::Plugin::Template::Mustache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Template::Mustache
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Template::Mustache
For more information on module installation, please visit the detailed CPAN module installation guide.