Scroll to navigation

Mojolicious::Plugin(3pm) User Contributed Perl Documentation Mojolicious::Plugin(3pm)

NAME

Mojolicious::Plugin - Plugin base class

SYNOPSIS

  use Mojo::Base 'Mojolicious::Plugin';

DESCRIPTION

Mojolicious::Plugin is an abstract base class for Mojolicious plugins.

METHODS

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

"register"

  $plugin->register;
This method will be called by Mojolicious::Plugins at startup time. Meant to be overloaded in a subclass.

SEE ALSO

Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
2012-09-05 perl v5.14.2