X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=ed5a217268b1f8b54cc4fff97d8e8a2a0f17f00b;hp=d4f82eb2a5fa385293ec6334c1df555a8f1f5ae7;hpb=6262b4cfc624279955709a067d52b1f611eb7a7d;p=gitmo%2FClass-C3.git diff --git a/Build.PL b/Build.PL index d4f82eb..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,25 +1,3 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'Class::C3', - license => 'perl', - requires => { - 'Scalar::Util' => 1.10, - 'Algorithm::C3' => 0.05, - }, - optional => {}, - build_requires => { - 'Test::More' => '0.47', - 'Test::Exception' => 0.15, - }, - 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';