--- /dev/null
+use Module::Build;
+
+use 5.6.0;
+
+use strict;
+use warnings;
+
+my $build = Module::Build->new(
+ module_name => 'Class::MOP',
+ license => 'perl',
+ requires => {
+ 'perl' => '5.6.0',
+ 'Scalar::Util' => '1.17',
+ 'Carp' => '0',
+ 'B' => '0',
+ 'Sub::Name' => '0',
+ },
+ optional => {
+ },
+ build_requires => {
+ 'Test::More' => '0.47',
+ 'Test::Exception' => '0',
+ },
+ create_makefile_pl => 'traditional',
+ recursive_test_files => 1,
+ add_to_cleanup => [
+ 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
+ ],
+);
+
+$build->create_build_script;
+++ /dev/null
-use ExtUtils::MakeMaker;
-WriteMakefile(
- NAME => 'Class::MOP',
- VERSION_FROM => 'lib/Class/MOP.pm',
- PREREQ_PM => {
- 'Test::More' => 0,
- 'Test::Exception' => 0,
- 'Scalar::Util' => 0,
- 'Carp' => 0,
- 'B' => 0,
- 'Sub::Name' => 0,
- }
-);
=over 4
-=item B<new ($name, %accessor_description, $class_initialization_arg, $default_value)>
+=item B<new ($name, %options)>
+
+=over 4
+
+=item I<accessor>
+
+=item I<reader>
+
+=item I<writer>
+
+=item I<predicate>
+
+=item I<init_arg>
+
+=item I<default>
+
+=back
=back