NAME
Raisin::Plugin - Base class for Raisin plugins.
SYNOPSIS
package Raisin::Plugin::Hello;
use parent 'Raisin::Plugin';
sub build {
my ($self, %args) = @_;
$self->register(hello => sub { print 'Hello!' });
}
DESCRIPTION
Provides the base class for creating Raisin plugins.
METHODS
build
Main method for each plugin.
register
Registers one or many methods into the application.
$self->register(hello => sub { print 'Hello!' });
AUTHOR
Artur Khabibullin - rtkh <at> cpan.org
LICENSE
This module and all the modules in this package are governed by the same license as Perl itself.