DOKK / manpages / debian 10 / libmojolicious-perl / Mojolicious::Plugin::EPLRenderer.3pm.en
Mojolicious::Plugin::EPLRenderer(3pm) User Contributed Perl Documentation Mojolicious::Plugin::EPLRenderer(3pm)

Mojolicious::Plugin::EPLRenderer - Embedded Perl Lite renderer plugin

  # Mojolicious
  $app->plugin('EPLRenderer');
  # Mojolicious::Lite
  plugin 'EPLRenderer';

Mojolicious::Plugin::EPLRenderer is a renderer for "epl" templates, which are pretty much just raw Mojo::Template.

This is a core plugin, that means it is always enabled and its code a good example for learning to build new plugins, you're welcome to fork it.

See "PLUGINS" in Mojolicious::Plugins for a list of plugins that are available by default.

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

  $plugin->register(Mojolicious->new);

Register renderer in Mojolicious application.

Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.

2019-02-05 perl v5.28.1