Mojolicious::Plugin::PODRenderer man page on Pidora
[printable version]
Mojolicious::Plugin::PUsernContributed PerlMojolicious::Plugin::PODRenderer(3)
NAME
Mojolicious::Plugin::PODRenderer - POD Renderer Plugin
SYNOPSIS
# Mojolicious
$self->plugin('PODRenderer');
$self->plugin(PODRenderer => {name => 'foo'});
$self->plugin(PODRenderer => {preprocess => 'epl'});
$self->render('some_template', handler => 'pod');
<%= pod_to_html "=head1 TEST\n\nC<123>" %>
# Mojolicious::Lite
plugin 'PODRenderer';
plugin PODRenderer => {name => 'foo'};
plugin PODRenderer => {preprocess => 'epl'};
$self->render('some_template', handler => 'pod');
<%= pod_to_html "=head1 TEST\n\nC<123>" %>
DESCRIPTION
Mojolicious::Plugin::PODRenderer is a renderer for true Perl hackers,
rawr!
OPTIONS
"name"
# Mojolicious::Lite
plugin PODRenderer => {name => 'foo'};
Handler name.
"no_perldoc"
# Mojolicious::Lite
plugin PODRenderer => {no_perldoc => 1};
Disable perldoc browser. Note that this option is EXPERIMENTAL and
might change without warning!
"preprocess"
# Mojolicious::Lite
plugin PODRenderer => {preprocess => 'epl'};
Handler name of preprocessor.
HELPERS
"pod_to_html"
<%= pod_to_html '=head2 lalala' %>
<%= pod_to_html begin %>=head2 lalala<% end %>
Render POD to HTML.
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://mojolicio.us>.
perl v5.14.1 2011-09-1Mojolicious::Plugin::PODRenderer(3)
[top]
List of man pages available for Pidora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|