Hi All,

Here's a new subclass for Module::Build, Apache::TestMB, which allows modules that use Module::Build to run tests using Apache::Test. My assumption is that it would be distributed with Apache::Test; therefore its use is something like this:

  use Module::Build;

  my $build_pkg = eval { require Apache::TestMB }
    ? 'Apache::TestMB' : 'Module::Build';

  my $build = $build_pkg->new(
    module_name => 'My::Module',
  )->create_build_script;

Let me know what you think!

Regards,

David

PS: Holler if this doesn't come through and I'll resend it gzip'ed.



Reply via email to