Raisin::Plugin - Base class for Raisin plugins.
package Raisin::Plugin::Hello; use parent 'Raisin::Plugin'; sub build { my ($self, %args) = @_; $self->register(hello => sub { print 'Hello!' }); }
Provides the base class for creating Raisin plugins.
Main method for each plugin.
Registers one or many methods into the application.
$self->register(hello => sub { print 'Hello!' });
Artur Khabibullin - rtkh <at> cpan.org
This module and all the modules in this package are governed by the same license as Perl itself.
To install Raisin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Raisin
CPAN shell
perl -MCPAN -e shell install Raisin
For more information on module installation, please visit the detailed CPAN module installation guide.