use ExtUtils::MakeMaker; my %opts = ( 'NAME' => 'Badger', 'VERSION_FROM' => 'lib/Badger.pm', 'PMLIBDIRS' => [ 'lib' ], 'dist' => { 'COMPRESS' => 'gzip', 'SUFFIX' => 'gz', }, 'test' => { TESTS => 't/*.t t/*/*.t', }, ); if ($ExtUtils::MakeMaker::VERSION >= 5.43) { $opts{ AUTHOR } = 'Andy Wardley '; $opts{ ABSTRACT } = 'Application programming toolkit', } WriteMakefile( %opts );