Apache-Bootstrap
view release on metacpan or search on metacpan
lib/Apache/Bootstrap.pm view on Meta::CPAN
eval "require $build_pkg";
die "could not require package $build_pkg: $@" if $@;
$self->{maker} = $build_pkg;
return $self->{mp_gen} = $selected;
}
# _wanted_mp_generation()
#
# the function looks at %ENV and Makefile.PL option to figure out
# whether a specific mod_perl generation was requested.
# It uses the following logic:
# via options:
# perl Makefile.PL MOD_PERL=2
# or via %ENV:
# env MOD_PERL=1 perl Makefile.PL
#
# return value is:
# 1 or 2 if the specification was found (mp 1 and mp 2 respectively)
# 0 otherwise
( run in 0.493 second using v1.01-cache-2.11-cpan-64827b87656 )