X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FC3%2FXS.pm;h=4deaf15d3c2c00f01081cb9dd4bebc4085fa7446;hb=25dc7e96de69c9e8e17a635dfbb6febf24dad21a;hp=c8bfbf32fb6e255c6760ea880094c4bf8185a953;hpb=fbe8c8c4b14d12e8f2e254abe7aab98c74391920;p=gitmo%2FClass-C3-XS.git diff --git a/lib/Class/C3/XS.pm b/lib/Class/C3/XS.pm index c8bfbf3..4deaf15 100644 --- a/lib/Class/C3/XS.pm +++ b/lib/Class/C3/XS.pm @@ -1,7 +1,10 @@ - package Class::C3::XS; -our $VERSION = '0.15'; +use 5.006_000; +use strict; +use warnings; + +our $VERSION = '0.05'; =pod @@ -16,29 +19,32 @@ Class::C3::XS - XS speedups for Class::C3 =head1 DESCRIPTION -This contains XS performance enhancers for L. -The main L package will use this package automatically -if it can find it. Do not use this package directly, use -L instead. +This contains XS performance enhancers for L version +0.16 and higher. The main L package will use this +package automatically if it can find it. Do not use this +package directly, use L instead. -=head1 AUTHOR +The test suite here is not complete, although it does verify +a few basic things. The best testing comes from running the +L test suite *after* this module is installed. -Stevan Little, Estevan@iinteractive.comE +This module won't do anything for you if you're running a +version of L older than 0.16. (It's not a +dependency because it would be circular with the optional +dep from that package to this one). -Brandon L. Black, Eblblack@gmail.comE - -=head1 COPYRIGHT AND LICENSE +=head1 AUTHOR -Copyright 2005, 2006 by Infinity Interactive, Inc. +Brandon L. Black, Eblblack@gmail.comE -L +=head1 LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut -# TODO: put XSLoader stuff here -# TODO: shut off redef warnings and set Class::C3::calculateMRO = Class::C3::XS::calculateMRO +require XSLoader; +XSLoader::load('Class::C3::XS', $VERSION); 1;