Unrelated to the blib issue I want a nice fallback in the case Apache::Test is not available.
I've been working on that for a very long time :)
here's my standard Makefile.PL for 1.0 modules, which is the neatest way I've found to address the issue. this also works for modules that are intended for both 1.0 and 2.0.
sub MY::test {
if (eval "require Apache::TestMM") {
Apache::TestMM::filter_args();
Apache::TestMM::generate_script('t/TEST');
Apache::TestMM->import(qw(test clean));
return Apache::TestMM->test;
} # The whitespace in front of @echo MUST be a single tab!
return <<'EOF';
test::
@echo This test suite requires Apache::Test
@echo available from the mod_perl 2.0 sources
@echo or the httpd-test distribution.
EOF
}--Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
