On Jul 5, 2004, at 9:01 AM, William McKee wrote:
Actually I'd prefer the following format:
my $build = $build_pkg->new (...); $build->create_build_script;
The reason is that this shows how to work with a build object. This is necessary if you want to use methods such as generate_script.
Yeah, I was just following the example in the synopsis of the Module::Build docs. Either is fine with me, too. What do others prefer?
You can use Apache::TestMB->generate_script, however; will that work?
When I try running generate_smoke, I get the following output:
Can't locate object method "generate_script" via package "Apache::TestMB" at Build.PL line 62.
Oh, sorry, it's generate_test_script().
It should do pretty much the same things as Apache::TestMM::generate_smoke().
Should that be Apache::TestMM::generate_script()?
Yes, duh. Sorry.
David