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::PodRenderer - POD Renderer Plugin

SYNOPSIS

    # Mojolicious
    $self->plugin('pod_renderer');
    $self->render('some_template', handler => 'pod');
    <%= pod_to_html "=head1 TEST\n\nC<123>" %>

    # Mojolicious::Lite
    plugin 'pod_renderer';
    $self->render('some_template', handler => 'pod');
    <%= pod_to_html "=head1 TEST\n\nC<123>" %>

DESCRIPTION

Mojolicous::Plugin::PodRenderer is a renderer for true Perl hackers, rawr!

METHODS

Mojolicious::Plugin::PodRenderer 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.