From: Brian Cassidy Date: Mon, 5 Jan 2009 18:36:16 +0000 (+0000) Subject: remove NEXT usage from TestApp.pm X-Git-Tag: v0.22~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-ConfigLoader.git;a=commitdiff_plain;h=60f98160a05af53007c0a5d454ad4564af6d0702 remove NEXT usage from TestApp.pm --- diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 15482b7..7f6873c 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -3,6 +3,8 @@ package TestApp; use strict; use warnings; +use MRO::Compat; + use Catalyst qw/ConfigLoader/; our $VERSION = '0.01'; @@ -12,7 +14,7 @@ __PACKAGE__->setup; sub finalize_config { my $c = shift; $c->config( foo => 'bar' ); - $c->NEXT::finalize_config; + $c->next::method(); } sub appconfig : Local {