| next | MakeMaker is DOOMED! | Slide #22 |
Module::Build is subclassable.
Change behavior by overriding methods.
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 |