DOKK / manpages / debian 12 / libmodule-build-pluggable-perl / Module::Build::Pluggable.3pm.en
Module::Build::Pluggable(3pm) User Contributed Perl Documentation Module::Build::Pluggable(3pm)

Module::Build::Pluggable - Module::Build meets plugins

    use Module::Build::Pluggable (
        'Repository',
        'ReadmeMarkdownFromPod',
        'PPPort',
    );
    my $builder = Module::Build::Pluggable->new(
        ... # normal M::B args
    );
    $builder->create_build_script();

Module::Build::Pluggable adds pluggability for Module::Build.

Module::Build::Pluggable call HOOK_prepare on preparing arguments for "Module::Build->new", HOOK_configure on configuration step, and HOOK_build on build step.

That's all.

And if you want a help, you can use Module::Build::Pluggable::Base as base class.

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

This module built on Module::Build.

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-12-11 perl v5.36.0