X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=93e4bb3f70bb211cd79b0275dd180b394d7bf8bd;hp=8c9fd16a827d1d7abb1d52e003f779fd3ab7c639;hpb=0a4d4e25e3b7491155684020f7eabc0293769736;p=gitmo%2FClass-C3.git diff --git a/Build.PL b/Build.PL index 8c9fd16..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,26 +1,3 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'Class::C3', - license => 'perl', - requires => { - 'Algorithm::C3' => 0.06, - 'Scalar::Util' => 1.10, - }, - recommends => { - 'Class::C3::XS' => 0.01, - }, - build_requires => { - 'Test::More' => '0.47', - }, - create_makefile_pl => 'traditional', - recursive_test_files => 1, - add_to_cleanup => [ - 'META.yml', '*.bak', '*.gz', 'Makefile.PL', - ], -); - -$build->create_build_script; - +# Dear Distribution Packager. This use of require is intentional. +# Module::Install detects Build.PL usage and acts accordingly. +require 'Makefile.PL';