Mojolicious::Plugin(3pUser Contributed Perl DocumentatiMojolicious::Plugin(3p)



NAME
       Mojolicious::Plugin - Plugin Base Class

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

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

       See Mojolicious::Plugins for more information.

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,
       your plugin should use this to hook into the application.  For instace
       by adding handlers and helpers to the renderer or using the "add_hooks"
       method of Mojolicious::Plugins to hook into the request flow.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.



perl v5.12.2                      2011-02-28           Mojolicious::Plugin(3p)
