MATSUNO★Tokuhiro > Module-Build-Pluggable-0.04 > Module::Build::Pluggable::Base

Download:
Module-Build-Pluggable-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Module-Build-Pluggable-0.10

NAME ^

Module::Build::Pluggable::Base - Base object for plugins

SYNOPSIS ^

    package My::Module::Build::Plugin;
    use parent qw/Module::Build::Pluggable::Base/;

DESCRIPTION ^

This is a abstract base class for Module::Build::Pluggable.

METHODS ^

$self->builder_class() : Str

Get a class name for Module::Build's subclass.

$self->add_before_action_modifier($action_name: Str, $callback: Code)
    $self->add_before_action_modifier('build' => \&code);

Add a 'before' action method modifier.

$self->add_action($action_name: Str, $callback: Code)

Add a new action for Module::Build.

$self->build_requires($module_name:Str[, $version:Str])

Add a build dependencies.

$self->configure_requires($module_name:Str[, $version:Str])

Add a configure dependencies.

$self->log_info($msg: Str)

Output log in INFO level.

$self->log_warn($msg: Str)

Output log in WARN level.

syntax highlighting: