- Build.PL
Build.PL
examples/distribution/project_with_module_build/Build.PL
use strict; use warnings; use Module::Build; my $build = Module::Build->new( module_name => 'MyTools', dist_version_from => 'lib/MyTools.pm', license => 'perl', create_makefile_pl => 0, requires => { 'Exporter' => '0', }, build_requires => { 'Test::Simple' => '1.00', }, ); $build->create_build_script;
$ perl Build.PL $ perl Build $ perl Build test
$ perl Build manifest $ perl Build dist