The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojolicious::Plugin::DefaultHelpers - Default Helpers Plugin

SYNOPSIS

    # Mojolicious
    $self->plugin('default_helpers');

    # Mojolicious::Lite
    plugin 'default_helpers';

DESCRIPTION

Mojolicous::Plugin::DefaultHelpers is a collection of renderer helpers for Mojolicious.

HELPERS

content

Insert content into a layout template.

dumper

Dump a Perl data structure using Data::Dumper.

extends

Extend a template.

include

Include a partial template.

layout

Render this template with a layout.

param

Access request parameters and routes captures.

stash

Access stash values.

url_for

Generate URLs.

METHODS

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

register

    $plugin->register;
    

Register the helpers.

SEE ALSO

Mojolicious, Mojolicious::Book, http://mojolicious.org.