On Fri 04 Jul 2008, Mark Hedges wrote: > How am I supposed to tell CPAN that the distribution > requires Apache::TestMM when Makefile.PL uses it before > `make` is even executed?
You mustn't die that means return an OK result (exit 0). But you mustn't create a Makefile. I do that this way: BEGIN { eval { require ModPerl::MM; require Apache::TestMM; }; if( $@ ) { exit 0; } Apache::TestMM->import( qw(test clean) ); } # accept the configs from command line Apache::TestMM::filter_args(); ... It is documented, see http://cpantest.grango.org/wiki/CPANAuthorNotes. Look for "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?" Torsten -- Need professional mod_perl support? Just hire me: [EMAIL PROTECTED]