use Module::Build; # See perldoc Module::Build for details of how this works Module::Build->new( module_name => 'Getopt::Lucid', dist_author => 'David A Golden ', create_makefile_pl => "traditional", create_readme => 1, license => 'perl', requires => { perl => 5.006, Exception::Class => 1.20, Storable => 2, Exception::Class::TryCatch => 1.05, # here to workaround CPANPLUS bug Test::Exception => 0.21, # here to workaround CPANPLUS bug Test::More => 0.48, # here to workaround CPANPLUS bug }, build_requires => { # Exception::Class::TryCatch => 1.05, # Test::Exception => 0.21, # Test::More => 0.47, }, recommends => {}, conflicts => {}, )->create_build_script;