Mojolic...Renderer(3)
π
Mojolic...Renderer(3) β Mojolicious::Plugin::EPRenderer π
okay so this page is from the User Contributed Perl Documentation, and the manual name is literally Mojolic...Renderer(3). bestie, we're talking about the Embedded Perl renderer plugin and it's giving very core-plugin main character energy π«Ά
πΈ NAME πΈ
Mojolicious::Plugin::EPRenderer β Embedded Perl renderer plugin. yep, that's the whole vibe β¨
β¨ SYNOPSIS β¨
# Mojolicious
$app->plugin('EPRenderer');
$app->plugin(EPRenderer => {name => 'foo'});
$app->plugin(EPRenderer => {name => 'bar', template => {line_start => '.'}});
# Mojolicious::Lite
plugin 'EPRenderer';
plugin EPRenderer => {name => 'foo'};
plugin EPRenderer => {name => 'bar', template => {line_start => '.'}};
π¦ DESCRIPTION π¦
Mojolicious::Plugin::EPRenderer is a renderer for Embedded Perl templates. for more info, see "Embedded Perl" in Mojolicious::Guides::Rendering. iykyk π
this is a core plugin, which means it is always enabled and its code is a good example for learning to build new plugins β you're welcome to fork it, no cap π
see "PLUGINS" in Mojolicious::Plugins for a list of plugins that are available by default. slay π
π OPTIONS π
Mojolicious::Plugin::EPRenderer supports the following options. let's go π
π name π
# Mojolicious::Lite
plugin EPRenderer => {name => 'foo'};
handler name β defaults to "ep". that's it, that's the option π
π template π
# Mojolicious::Lite
plugin EPRenderer => {template => {line_start => '.'}};
attribute values passed to Mojo::Template objects used to render templates. very demure, very template-y π§
π METHODS π
Mojolicious::Plugin::EPRenderer inherits all methods from Mojolicious::Plugin::EPLRenderer and implements the following new ones. periodt π
β register β
$plugin->register(Mojolicious->new);
$plugin->register(Mojolicious->new, {name => 'foo'});
register renderer in Mojolicious application. iconic, honestly π₯
π SEE ALSO π
MojoliciousMojolicious::Guides<https://mojolicious.org>
bye bestie π β this page came from perl v5.42.0, dated 2026-07-15, and the footer still says Mojolic...Renderer(3). no notes, literally perfect π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious 9.480.0-bp160.2.1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms