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.
- flash
-
Access flash values.
- include
-
Include a partial template.
- layout
-
Render this template with a layout.
- param
-
Access request parameters and routes captures.
- session
-
Access session values.
- 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 helpers in Mojolicious application.