perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <>
Subject ModPerl::MM or ExtUtils::MakeMaker or what?
Date Thu, 03 Apr 2008 08:19:31 GMT

I am a bit confused about what MakeMaker is best to use with mp2 modules. 
There is the good old ExtUtils::MakeMaker that is mentioned in How I got there I 
don't remember but I have used in all my modules ModPerl::MM. Is that right? 
Or should I rather port them to use the former?

I am asking because I have had FAIL reports from CPAN testers that don't 
install ModPerl::MM. The way around these reports is using

  eval {
    require ModPerl::MM;
    require Apache::TestMM;
  if( $@ ) {
    warn $@;
    exit 0;
  Apache::TestMM->import( qw(test clean) );

instead of

use ModPerl::MM ();
use Apache::TestMM qw(test clean);

This way no Makefile is written and the automatic test suite is happy.


View raw message