use ExtUtils::MakeMaker; use strict; use warnings; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. my %mm_args = ( 'NAME' => 'Bundle::Pryrt', 'AUTHOR' => 'Peter C. jones ', 'VERSION_FROM' => 'dummy.pm', 'ABSTRACT_FROM' => 'dummy.pm', 'PREREQ_PM' => { 'Pod::Markdown' => 0, 'Test::More' => 0, 'Devel::Cover' => 0, 'Module::Signature' => 0, }, ); { no warnings; if( $ExtUtils::MakeMaker::VERSION >= '6.31' ) { $mm_args{LICENSE} = 'perl_5'; } if( $ExtUtils::MakeMaker::VERSION >= '6.48' ) { $mm_args{MIN_PERL_VERSION} = '5.10.0'; } if( $ExtUtils::MakeMaker::VERSION >= '6.52' ) { $mm_args{CONFIGURE_REQUIRES} = { 'ExtUtils::MakeMaker' => 0, }, } } WriteMakefile( %mm_args )