[Module-build-general] Bootstrapping
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-06-21 04:32:35
|
I believe it was Mark Fowler who brought this issue up at the M::B BOF at YAPC. His basic problem was that he had a subclass of M::B that he wanted to use in various modules he might distribute on CPAN. This leads to the question of how to specify this prerequisite. I think this needs a new prereq specification for "bootstrap" modules, so we can do something like this: use Module::Build; Module::Build->boostrap_requires( 'Module::Build::Foo' => 0.15, ... ); require Module::Build::Foo; Module::Build::Foo->new( ... )->create_build_script; This wouldn't be too hard to implement but I wanted to discuss the API before creating a patch. So what do others think? -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |