From: Brandon L Black Date: Thu, 19 Apr 2007 21:45:54 +0000 (+0000) Subject: 0.15_05, assumes 5.9.5 has patch X-Git-Tag: 0.16~1^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FClass-C3.git;a=commitdiff_plain;h=f29041c4f4fb46129672fdf605c9165f04ef413c 0.15_05, assumes 5.9.5 has patch --- diff --git a/ChangeLog b/ChangeLog index d859e5b..92778f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ Revision history for Perl extension Class::C3. - - Patch not included directly anymore +0.15_05 Thurs, Apr 19, 2007 + - Patch is in the latest perl-current now, + and this dev release assumes 5.9.5 has the patch 0.15_03 Tue, Apr 17, 2007 - New c3.patch, improves threads compat and diff --git a/README b/README index 06477db..86571da 100644 --- a/README +++ b/README @@ -22,22 +22,16 @@ these if installed: Class::C3::XS 0.01_06 -SPECIAL NOTE FOR 0.15_04 +SPECIAL NOTE FOR 0.15_05 -To try this with the experimental perl core c3 patch, +To try this with the new perl core c3 support, download the most recent copy perl-current: http://mirrors.develooper.com/perl/APC/perl-current-snap/ -Apply the latest C3 patch from: - -http://www.dtmf.com/c3-subgen.patch - -Then: - sh Configure -Dusedevel -Dprefix=/where/I/want/it -d -e && make && make test && make install -then try your C3-using software against this perl + Class::C3 0.15_04. +then try your C3-using software against this perl + Class::C3 0.15_05. COPYRIGHT AND LICENCE diff --git a/lib/Class/C3.pm b/lib/Class/C3.pm index 793c182..fb7c58b 100644 --- a/lib/Class/C3.pm +++ b/lib/Class/C3.pm @@ -4,15 +4,13 @@ package Class::C3; use strict; use warnings; -our $VERSION = '0.15_04'; +our $VERSION = '0.15_05'; our $C3_IN_CORE; our $C3_XS; BEGIN { - eval "require mro"; # XXX in the future, this should be a version check - if($@) { - die $@ if $@ !~ /locate/; + if($^V < 5.009005) { eval "require Class::C3::XS"; if($@) { die $@ if $@ !~ /locate/; @@ -253,22 +251,16 @@ Class::C3 - A pragma to use the C3 method resolution order algortihm D->can('hello')->(); # can() also works correctly UNIVERSAL::can('D', 'hello'); # as does UNIVERSAL::can() -=head1 SPECIAL NOTE FOR 0.15_04 +=head1 SPECIAL NOTE FOR 0.15_05 -To try this with the experimental perl core c3 patch, +To try this with the new perl core c3 support, download the most recent copy perl-current: http://mirrors.develooper.com/perl/APC/perl-current-snap/ -Apply the latest C3 patch from: - -http://www.dtmf.com/c3-subgen.patch - -Then: - sh Configure -Dusedevel -Dprefix=/where/I/want/it -d -e && make && make test && make install -then try your C3-using software against this perl + Class::C3 0.15_04. +then try your C3-using software against this perl + Class::C3 0.15_05. =head1 DESCRIPTION