13 Class::C3::XS - XS speedups for Class::C3
17 use Class::C3; # Automatically loads Class::C3::XS
18 # if it's installed locally
22 This contains XS performance enhancers for L<Class::C3> version
23 0.16 and higher. The main L<Class::C3> package will use this
24 package automatically if it can find it. Do not use this
25 package directly, use L<Class::C3> instead.
27 The test suite here is not complete, although it does verify
28 a few basic things. The best testing comes from running the
29 L<Class::C3> test suite *after* this module is installed.
31 This module won't do anything for you if you're running a
32 version of L<Class::C3> older than 0.16. (It's not a
33 dependency because it would be circular with the optional
34 dep from that package to this one).
38 Brandon L. Black, E<lt>blblack@gmail.comE<gt>
42 This library is free software; you can redistribute it and/or modify
43 it under the same terms as Perl itself.
48 XSLoader::load('Class::C3::XS', $VERSION);
50 package # hide me from PAUSE
53 sub can { Class::C3::XS::_nextcan($_[0], 0) }
56 my $method = Class::C3::XS::_nextcan($_[0], 1);
60 package # hide me from PAUSE
64 my $method = Class::C3::XS::_nextcan($_[0], 0);
65 goto &$method if defined $method;