#!/usr/bin/perl use strict; use warnings; ################################### # minimum version of A::B required my $ab = 0.06; eval { require Apache::Bootstrap }; ($@ or ($Apache::Bootstrap::VERSION < $ab)) && do { $! = 255; die("Apache::Bootstrap $ab required"); }; # make sure we have at least one minimum version of mod_perl my $bs = eval { Apache::Bootstrap->new({ mod_perl2 => 1.99022, mod_perl => 1.30 }) }; do { $! = 255; die($@); } if $@; ################################################# # use $bs to determine whether ExtUtils::MakeMaker # or ModPerl::Build::MM should be used to write # the Makefile