Hi,

I am writing a Perl module the requires mod_perl to run. What I would like
to do detect if mod_perl is installed (and the appropriate version) directly
from Makefile.PL (PREREQ_PM).

I'm thinking maybe a ModPerl.pm module could be added to the mod_perl
distro that could contain that current mod_perl version. Like this:

  package ModPerl ;
  $ModPerl::VERSION = ' 1.99_16' ;

Then one could say, in Makefile.PL:

  use ExtUtils::MakeMaker ;
  WriteMakefile(
      NAME              => 'Apache::Whatever',
      VERSION_FROM      => 'Whatever.pm',
      PREREQ_PM         => {ModPerl => '1.99_16'},
  );


Any comments/alternatives ?

Patrick
-- 
=====================
Patrick LeBoutllier
Laval, Québec, Canada

Reply via email to