On Jul 5, 2004, at 11:09 AM, David Wheeler wrote:
Can't locate object method "generate_script" via package "Apache::TestMB" at Build.PL line 62.
Oh, sorry, it's generate_test_script().
And I have no idea why it is, since it's generate_script in the other A::T modules, and I documented it that way. Apologies. This patch will fix it (Stas, we should commit this for the next release):
-- TestMB.pm.~1.2.~ Fri Jun 25 18:55:53 2004 +++ TestMB.pm Mon Jul 5 11:10:36 2004 @@ -15,7 +15,7 @@ my $self = $pkg->SUPER::new(@_); $self->{properties}{apache_test_args} = $vars; $self->{properties}{apache_test_script} ||= 't/TEST'; - $self->generate_test_script; + $self->generate_script; return $self; }
@@ -92,7 +92,7 @@ sub ACTION_cmodules_clean { shift->_cmodues('clean') }
# XXX I'd love to make this optional. -sub generate_test_script { +sub generate_script { my $self = shift;
# If a file name has been passed in, use it. Otherwise, use the
Regards,
David