Apache-Watchdog-RunAway
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
}
@ARGV = @pass;
# check %ENV
my $env = exists $ENV{MOD_PERL} ? $ENV{MOD_PERL} : 0;
# check for contradicting requirements
if ($env && $flag && $flag != $env) {
die <<EOF;
Can\'t decide which mod_perl version should be used, since you have
supplied contradicting requirements:
enviroment variable MOD_PERL=$env
Makefile.PL option MOD_PERL=$flag
EOF
}
my $wanted = 0;
$wanted = 2 if $env == 2 || $flag == 2;
$wanted = 1 if $env == 1 || $flag == 1;
Apache::Watchdog::RunAway 2.x works with both mod_perl generations. If
you have both installed you need to decide which mod_perl generation
to build it for. To build against mod_perl 1.0, run:
*** mod_perl 1.0 ***
% perl Makefile.PL MOD_PERL=1 -httpd /path/to/apache/bin/httpd
% make
% make test
% make install
replace /path/to/apache/bin/httpd with a path to your apache 1.3 httpd
( run in 0.807 second using v1.01-cache-2.11-cpan-de7293f3b23 )