use strict; use warnings; use ExtUtils::MakeMaker; # $Id: Makefile.PL 345 2008-05-10 00:02:20Z davidp $ my @license = do { my $version = $ExtUtils::MakeMaker::VERSION; $version =~ tr/_//d; $version} > 6.30 ? qw(LICENSE perl) : (); WriteMakefile( NAME => 'WWW::Comic::Plugin::Wulffmorgenthaler', AUTHOR => 'David Precious ', VERSION_FROM => 'lib/WWW/Comic/Plugin/Wulffmorgenthaler.pm', ABSTRACT_FROM => 'lib/WWW/Comic/Plugin/Wulffmorgenthaler.pm', PL_FILES => {}, PREREQ_PM => { 'Test::More' => 0, 'WWW::Comic::Plugin' => 0, }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'WWW-Comic-Plugin-Wulffmorgenthaler-*' }, # include the LICENSE param, as long as EU::MM is new enough to support it: ($ExtUtils::MakeMaker::VERSION >= 6.3002 ? (LICENSE => "perl") : () ), );