Subject: | Build.PL fails without Apache::TestMB |
The Build.PL script packaged with CA::Dispatch 2.12 checks to see if
Apache::TestMB is available and if not, it tries to build with
Module::Build. Except it doesn't actually load Module::Build.
# perl Build.PL
Can't locate object method "new" via package "Module::Build" (perhaps
you forgot to load "Module::Build"?) at Build.PL line 2.
A .diff is attached to fix the problem.
Mike Friedman
Subject: | Build.PL.diff |
1c1,4
< my $build_pkg = eval "require Apache::TestMB" ? 'Apache::TestMB' : 'Module::Build';
---
> my $build_pkg = eval "require Apache::TestMB" ? 'Apache::TestMB'
> : eval "require Module::Build" ? 'Module::Build'
> : die 'No builder found';
>