$OpenBSD: patch-lib_Catalyst_Plugin_XMLRPC_pm,v 1.1 2012/04/08 21:58:58 sthen Exp $ --- lib/Catalyst/Plugin/XMLRPC.pm.orig Wed Oct 21 04:29:12 2009 +++ lib/Catalyst/Plugin/XMLRPC.pm Sun Nov 6 08:28:08 2011 @@ -7,7 +7,7 @@ use RPC::XML; use RPC::XML::ParserFactory 'XML::Parser'; use Catalyst::Action; use Catalyst::Utils; -use NEXT; +use MRO::Compat; our $VERSION = '2.01'; @@ -107,7 +107,7 @@ sub xmlrpc { # Register our DispatchType sub setup_dispatcher { my $c = shift; - $c->NEXT::setup_dispatcher(@_); + $c->maybe::next::method(@_); push @{ $c->dispatcher->preload_dispatch_types }, '+Catalyst::Plugin::XMLRPC::DispatchType::XMLRPC'; return $c;