Mojolicious::Plugin::PodRenderer - POD Renderer Plugin
# Mojolicious $self->plugin('pod_renderer'); $self->plugin(pod_renderer => {name => 'foo'}); $self->plugin(pod_renderer => {preprocess => 'epl'}); $self->render('some_template', handler => 'pod'); <%= pod_to_html "=head1 TEST\n\nC<123>" %> # Mojolicious::Lite plugin 'pod_renderer'; plugin pod_renderer => {name => 'foo'}; plugin pod_renderer => {preprocess => 'epl'}; $self->render('some_template', handler => 'pod'); <%= pod_to_html "=head1 TEST\n\nC<123>" %>
Mojolicous::Plugin::PodRenderer is a renderer for true Perl hackers, rawr!
# Mojolicious::Lite plugin pod_renderer => {name => 'foo'};
# Mojolicious::Lite plugin pod_renderer => {preprocess => 'epl'};
<%= pod_to_html '=head2 lalala' %> <%= pod_to_html begin %>=head2 lalala<% end %>
Render POD to HTML.
Mojolicious::Plugin::PodRenderer inherits all methods from Mojolicious::Plugin and implements the following new ones.
register
$plugin->register;
Register renderer in Mojolicious application.
Mojolicious, Mojolicious::Guides, http://mojolicious.org.
To install Mojolicious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious
CPAN shell
perl -MCPAN -e shell install Mojolicious
For more information on module installation, please visit the detailed CPAN module installation guide.