Raisin::Plugin - Base class for Raisin plugins
version 0.92
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
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.
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.