use strict; use warnings; use Module::Build; # $AFresh1: Build.PL,v 1.8 2010/01/22 01:30:45 andrew Exp $ my $builder = Module::Build->new( module_name => 'Text::Todo', license => 'perl', dist_author => 'Andrew Fresh ', dist_version_from => 'lib/Text/Todo.pm', requires => { 'Carp' => 0, 'Class::Std::Utils' => 0, 'File::Spec' => 0, 'Test::More' => 0.82, 'version' => 0, }, add_to_cleanup => [ 'Text-Todo-*', 'MANIFEST', 'META.yml', 'Makefile.PL', ], create_makefile_pl => 'traditional', ); $builder->create_build_script();