next MakeMaker is DOOMED! Slide #22

Customizing

Module::Build is subclassable.

    package Foo;
    use base qw(Module::Build);
    sub ACTION_test {
        my $self = shift;
        $ENV{PORT} = 12345;
        $self->SUPER::ACTION_test(@_);
    }
    Foo->new(
        module_name => 'Foo',
        license     => 'perl'
    )->create_build_script;


next ToC Copyright © 2003 Michael G Schwern