[Catalyst-commits] r8994 - in trunk/Catalyst-Plugin-ConfigLoader: .
lib/Catalyst/Plugin
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Sat Jan 3 02:32:03 GMT 2009
Author: bricas
Date: 2009-01-03 02:32:03 +0000 (Sat, 03 Jan 2009)
New Revision: 8994
Modified:
trunk/Catalyst-Plugin-ConfigLoader/Changes
trunk/Catalyst-Plugin-ConfigLoader/Makefile.PL
trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
Log:
switch from NEXT to MRO::Compat
Modified: trunk/Catalyst-Plugin-ConfigLoader/Changes
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/Changes 2009-01-02 23:13:36 UTC (rev 8993)
+++ trunk/Catalyst-Plugin-ConfigLoader/Changes 2009-01-03 02:32:03 UTC (rev 8994)
@@ -2,6 +2,7 @@
0.22 XXX
- add a cookbook entry re: UTF-8 and Config::General (Octavian Rasnita)
+ - switch from NEXT to MRO::Compat
0.21 Mon Aug 11 2008
- add a cookbook entry for converting an existing config to
Modified: trunk/Catalyst-Plugin-ConfigLoader/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/Makefile.PL 2009-01-02 23:13:36 UTC (rev 8993)
+++ trunk/Catalyst-Plugin-ConfigLoader/Makefile.PL 2009-01-03 02:32:03 UTC (rev 8994)
@@ -12,6 +12,7 @@
requires 'Catalyst::Runtime' => '5.7008'; # needed for env_value()
requires 'Data::Visitor' => '0.02';
requires 'Config::Any' => '0.08';
+requires 'MRO::Compat' => '0.09';
test_requires 'Test::More';
Modified: trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm 2009-01-02 23:13:36 UTC (rev 8993)
+++ trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm 2009-01-03 02:32:03 UTC (rev 8994)
@@ -4,7 +4,7 @@
use warnings;
use Config::Any;
-use NEXT;
+use MRO::Compat;
use Data::Visitor::Callback;
use Catalyst::Utils ();
@@ -96,7 +96,7 @@
$c->load_config( { $_ => $configs{ $_ } } ) for @main, @locals;
$c->finalize_config;
- $c->NEXT::setup( @_ );
+ $c->next::method( @_ );
}
=head2 load_config
More information about the Catalyst-commits
mailing list