our $VERSION = '0.15_01';
-# Class::C3 defines Class::C3::* in pure perl
-# if mro, it does nothing else
-# elsif Class::C3::XS, do nothing else
-# else load next.pm
-# Class::C3::XS defines the same routines as next.pm,
-# and also redefines (suppress warning) calculateMRO
-# (ditto for anything else in Class::C3::* we want to
-# XS-ize).
-
our $C3_IN_CORE;
BEGIN {
sub method { (next::method($_[0]) || return)->(@_) }
1;
+
+__END__
+
+=pod
+
+=head1 NAME
+
+Class::C3::next - Pure-perl next::method and friends
+
+=head1 DESCRIPTION
+
+This module is used internally by L<Class::C3> when
+neccesary, and shouldn't be used (or required in
+distribution dependencies) directly. It
+defines C<next::method>, C<next::can>, and
+C<maybe::next::method> in pure perl.
+
+=head1 AUTHOR
+
+Stevan Little, E<lt>stevan@iinteractive.comE<gt>
+
+Brandon L. Black, E<lt>blblack@gmail.comE<gt>
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright 2005, 2006 by Infinity Interactive, Inc.
+
+L<http://www.iinteractive.com>
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
use strict;
use warnings;
-use Test::More tests => 1;
+use Test::More tests => 2;
BEGIN {
use_ok('Class::C3');
-}
\ No newline at end of file
+ use_ok('Class::C3::next');
+}