use strict; use warnings; use Module::Build; # $AFresh1: Build.PL,v 1.8 2010/01/31 03:58:31 andrew Exp $ my $builder = Module::Build->new( module_name => 'Text::Todo::REST::API', license => 'perl', dist_author => 'Andrew Fresh ', dist_version_from => 'lib/Text/Todo/REST/API.pm', recursive_test_files => 1, requires => { 'Carp' => 0, 'Class::Std::Utils' => 0, 'Digest::MD5' => 0, 'File::Spec' => 0, 'Text::Todo' => 0, 'Test::More' => 0, 'version' => 0, }, build_requires => { 'Test::More' => 0.82, }, add_to_cleanup => [ 'Text-Todo-REST-API-*', 'MANIFEST', 'META.yml', 'Makefile.PL', 'LICENSE', 'README', ], create_makefile_pl => 'traditional', create_license => 1, create_readme => 1, ); $builder->create_build_script();