Module::Build::Pluggable::Base - Base object for plugins
package My::Module::Build::Plugin; use parent qw/Module::Build::Pluggable::Base/;
This is a abstract base class for Module::Build::Pluggable.
Get a class name for Module::Build's subclass.
You cannot call this method in HOOK_prepare and HOOK_configure phase.
HOOK_prepare
$self->add_before_action_modifier('build' => \&code);
Add a 'before' action method modifier.
You need to call this method in HOOK_build phase.
HOOK_build
$self->add_around_action_modifier('build' => \&code);
Add a 'around' action method modifier.
Add a new action for Module::Build.
Add a build dependencies.
You need to call this method in HOOK_configure phase.
HOOK_configure
Add a configure dependencies.
$self->log_info($msg: Str)
Output log in INFO level.
$self->log_warn($msg: Str)
Output log in WARN level.
To install Module::Build::Pluggable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Build::Pluggable
CPAN shell
perl -MCPAN -e shell install Module::Build::Pluggable
For more information on module installation, please visit the detailed CPAN module installation guide.