-use Module::Build;
-
-use strict;
-
-my $build = Module::Build->new(
- module_name => 'Class::C3::XS',
- xs_files => { 'XS.xs' => 'lib/Class/C3/XS.xs' },
- license => 'perl',
- optional => {},
- requires => {
- 'perl' => 5.008000,
- },
- build_requires => {
- 'Test::More' => '0.47',
- },
- create_makefile_pl => 'traditional',
- create_readme => 1,
- recursive_test_files => 1,
- add_to_cleanup => [
- 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
- 'XS.c', 'XS.o', 'XS.bs',
- ],
-);
-
-$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';
Revision history for Perl extension Class::C3::XS
+0.01_07 Tue May 1, 2007
+ Added calculate_method_dispatch_tables
+ Converted to Module::Install
+
0.01_06 Tue Apr 17, 2007
- Better memory management?
+ Better memory management?
0.01_05 Mon Apr 16, 2007
- Fixed assumption of defined-ness when looking in %Class::C3::MRO
+ Fixed assumption of defined-ness when looking in %Class::C3::MRO
0.01_04 Mon Apr 16, 2007
- Fix threads issue?
+ Fix threads issue?
0.01_03 Mon Apr 16, 2007
- Fix AvARRAY lvalue issue
+ Fix AvARRAY lvalue issue
0.01_02 Mon Apr 16, 2007
- Fix MakeMaker compat, and source compat, maybe
- not it will work for more people
+ Fix MakeMaker compat, and source compat, maybe
+ not it will work for more people
0.01_01 Sun Apr 15, 2007
- Initial Release
+ Initial Release
--- /dev/null
+use inc::Module::Install;
+
+name 'Class-C3-XS';
+all_from 'lib/Class/C3/XS.pm';
+build_requires 'Test::More' => '0.47';
+auto_install;
+WriteAll;
package Class::C3::XS;
-our $VERSION = '0.01_06';
+use 5.008_000;
+use strict;
+use warnings;
+
+our $VERSION = '0.01_07';
=pod
if it can find it. Do not use this package directly, use
L<Class::C3> instead.
+The test suite here is not complete, although it does verify
+a few basic things. The best testing comes from running the
+L<Class::C3> test suite *after* this module is installed.
+
=head1 AUTHOR
Brandon L. Black, E<lt>blblack@gmail.comE<gt>