Subject: | [PATCH] upgrade to MRO::Compat |
To remove warnings about using NEXT need upgrade to MRO::Compat.
Something like this should work:
--- DynamicAdaptor.pm 2011-02-08 17:52:10.000000000 +0000
+++ DynamicAdaptor.pm 2011-02-08 17:52:52.000000000 +0000
@@ -3,13 +3,13 @@
use strict;
use warnings;
use base qw/Catalyst::Model/;
-use NEXT;
+use MRO::Compat;
use Module::Recursive::Require;
our $VERSION = 0.02;
sub new {
- my $self = shift->NEXT::new(@_);
+ my $self = shift->maybe::next::method(@_);
my $c = shift;
my $class = ref($self);