NAME
Raisin::Plugin - Base class for Raisin plugins
VERSION
version 0.94
SYNOPSIS
package
Raisin::Plugin::Hello;
sub
build {
my
(
$self
,
%args
) =
@_
;
$self
->register(
hello
=>
sub
{
'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
{
'Hello!'
});
AUTHOR
Artur Khabibullin
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Artur Khabibullin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.