Revision history for Catalyst-Component-ACCEPT_CONTEXT
+ Switch from NEXT to MRO::Compat
+
0.05 18 Jan 2008
- Don't inherit from Catalyst::Component; this breaks NEXT (!)
+ Don't inherit from Catalyst::Component; this breaks NEXT (!)
0.04 15 Sep 2007
Be less invasive; return the same $self each time.
use warnings;
use strict;
-use NEXT;
+use MRO::Compat;
use Scalar::Util qw(weaken);
=head1 NAME
$self->{context} = $context;
weaken($self->{context});
-
- return $self->NEXT::ACCEPT_CONTEXT($context, @_) || $self;
+
+ return $self->next::method($context, @_) || $self;
}
=head2 COMPONENT
my $args = shift;
$args->{context} = $app;
weaken($args->{context}) if ref $args->{context};
- return $class->NEXT::COMPONENT($app, $args, @_);
+ return $class->next::method($app, $args, @_);
}
=head1 AUTHOR