[Catalyst-commits] r8677 - in Catalyst-Runtime/5.80/trunk: .
lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Mon Dec 1 21:38:13 GMT 2008
Author: rafl
Date: 2008-12-01 21:38:13 +0000 (Mon, 01 Dec 2008)
New Revision: 8677
Modified:
Catalyst-Runtime/5.80/trunk/Makefile.PL
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm
Log:
Use Class::C3::Adopt::NEXT.
This should make 3rd party components that rely on cat loading NEXT work
again by mapping the NEXT interface to Class::C3. It also adds a
warning when someone is using NEXT instead of Class::C3 or Moose method
modifiers to make migrating away from NEXT easier.
Modified: Catalyst-Runtime/5.80/trunk/Makefile.PL
===================================================================
--- Catalyst-Runtime/5.80/trunk/Makefile.PL 2008-12-01 21:20:43 UTC (rev 8676)
+++ Catalyst-Runtime/5.80/trunk/Makefile.PL 2008-12-01 21:38:13 UTC (rev 8677)
@@ -9,6 +9,7 @@
requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00400';
requires 'Moose' => '0.59';
requires 'Carp';
+requires 'Class::C3::Adopt::NEXT';
requires 'Class::MOP';
requires 'CGI::Simple::Cookie';
requires 'Data::Dump';
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm 2008-12-01 21:20:43 UTC (rev 8676)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Component.pm 2008-12-01 21:38:13 UTC (rev 8677)
@@ -4,6 +4,7 @@
use Class::MOP;
use MooseX::Adopt::Class::Accessor::Fast;
use Catalyst::Utils;
+use Class::C3::Adopt::NEXT;
use MRO::Compat;
use mro 'c3';
More information about the Catalyst-commits
mailing list