[Bast-commits] r5764 - in Class-C3-Componentised/trunk: .
lib/Class/C3
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed Mar 18 14:17:20 GMT 2009
Author: rafl
Date: 2009-03-18 14:17:20 +0000 (Wed, 18 Mar 2009)
New Revision: 5764
Modified:
Class-C3-Componentised/trunk/Makefile.PL
Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm
Log:
Load Class::C3. Other code relies on us doing that.
Modified: Class-C3-Componentised/trunk/Makefile.PL
===================================================================
--- Class-C3-Componentised/trunk/Makefile.PL 2009-03-17 23:57:49 UTC (rev 5763)
+++ Class-C3-Componentised/trunk/Makefile.PL 2009-03-18 14:17:20 UTC (rev 5764)
@@ -10,6 +10,13 @@
requires 'Carp';
requires 'Test::Exception';
+# we don't actually need Class::C3. MRO::Compat loads it on 5.8. On 5.10 it
+# isn't needed. However, some existing code relies on us loading Class::C3. We
+# don't want to break it just yet. Therefore we depend directly on Class::C3 as
+# well.
+
+requires 'Class::C3' => '0.20';
+
build_requires 'FindBin';
WriteAll;
Modified: Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm
===================================================================
--- Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm 2009-03-17 23:57:49 UTC (rev 5763)
+++ Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm 2009-03-18 14:17:20 UTC (rev 5764)
@@ -40,7 +40,9 @@
use strict;
use warnings;
+# see Makefile.PL for discussion on why we load both Class::C3 and MRO::Compat
use MRO::Compat;
+use Class::C3 ();
use Class::Inspector;
use Carp;
More information about the Bast-commits
mailing list