1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
use strict;
BEGIN {
if ( open MEMCACHED, "memcached -i |" ) {
chomp( my $header = <MEMCACHED> );
print "Using $header for tests!\n";
}
else {
print "No executable memcached found: $!\n";
print "Many tests will fail, install can only be forced!\n";
}
}
use ExtUtils::MakeMaker;
eval "use Devel::Required";
eval "use Devel::Required pod => [ qw(
lib/Cache/Managed.pm
lib/Cache/Managed/Inactive.pm
lib/Cache/Managed/Multi.pm
) ]";
WriteMakefile (
NAME => "Cache::Memcached::Managed",
AUTHOR => 'Elizabeth Mattijsen (liz@dijkmat.nl)',
ABSTRACT => 'provide API for managing cached information',
VERSION_FROM => 'lib/Cache/Memcached/Managed.pm',
LICENSE => 'gpl',
PREREQ_PM => { qw(
Cache::Memcached 0
) },
);
|