Blosxom::Component - Base class for Blosxom components
package MyComponent; use parent 'Blosxom::Component';
Base class for Blosxom components.
Declares a list of methods that must be defined to load this component.
__PACKAGE__->requires(qw/req1 req2/);
__PACKAGE__->mk_accessors(qw/foo bar baz/);
sub init { my ( $class, $caller, $config ) = @_; # do something $class->SUPER::init( $caller ); }
Blosxom::Plugin, Role::Tiny
Ryo Anazawa
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Blosxom::Plugin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Blosxom::Plugin
CPAN shell
perl -MCPAN -e shell install Blosxom::Plugin
For more information on module installation, please visit the detailed CPAN module installation guide.