--- /dev/null
+use Module::Build;
+
+use strict;
+
+my $build = Module::Build->new(
+ module_name => 'Class::MOP',
+ license => 'perl',
+ requires => {
+ 'Scalar::Util' => '1.17',
+ 'Sub::Name' => '0.02',
+ 'Carp' => '0.01',
+ 'B' => '0',
+ },
+ optional => {
+ },
+ build_requires => {
+ 'Test::More' => '0.47',
+ 'Test::Exception' => '0.21',
+ },
+ create_makefile_pl => 'traditional',
+ recursive_test_files => 1,
+ add_to_cleanup => [
+ 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
+ ],
+);
+
+$build->create_build_script;
+
+Build.PL
Changes
Makefile.PL
MANIFEST
README
+META.yml
examples/InsideOutClass.pm
examples/InstanceCountingClass.pm
examples/Perl6Attribute.pm
+++ /dev/null
-use ExtUtils::MakeMaker;
-WriteMakefile(
- NAME => 'Class::MOP',
- VERSION_FROM => 'lib/Class/MOP.pm',
- PREREQ_PM => {
- 'Test::More' => '0.47',
- 'Test::Exception' => '0.21',
- 'Scalar::Util' => '1.17',
- 'Sub::Name' => '0.02',
- 'Carp' => '0.01',
- 'B' => '0',
- }
-);