The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::Text::Caml - Mojolicious Plugin

SYNOPSIS

  plugin 'Text::Caml';

  get '/inline' => sub {
    my $c = shift;
    $c->render(handler => 'caml', inline  => 'Hello, {{message}}!', message => 'Mustache');
  };

DESCRIPTION

Mojolicious::Plugin::Text::Caml is a Mojolicious plugin.

METHODS

Mojolicious::Plugin::Text::Caml inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

  # Mojolicious
  $self->plugin('Text::Caml');

  # Mojolicious::Lite
  plugin 'Text::Caml';

Register plugin in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org, http://mustache.github.io, Text::Caml.

AUTHOR

Cyrill Novgorodcev <cynovg@cpan.org>

LICENSE

                    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/>.