The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojolicious::Plugin::EpRenderer - EP Renderer Plugin

SYNOPSIS

    # Mojolicious
    $self->plugin('ep_renderer');

    # Mojolicious::Lite
    plugin 'ep_renderer';

DESCRIPTION

Mojolicous::Plugin::EpRenderer is a renderer for ep templates.

TEMPLATES

ep or Embedded Perl is a simple template format where you embed perl code into documents. It is based on Mojo::Template, but extends it with some convenient syntax sugar designed specifically for Mojolicious. It supports Mojolicious template helpers and exposes the stash directly as perl variables.

METHODS

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

register

    $plugin->register;

Register renderer in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org.