[Catalyst-commits] r9580 -
trunk/Catalyst-Plugin-Session-State-URI/t/lib/Catalyst/Plugin/Test
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Mar 26 09:31:17 GMT 2009
Author: t0m
Date: 2009-03-26 09:31:17 +0000 (Thu, 26 Mar 2009)
New Revision: 9580
Modified:
trunk/Catalyst-Plugin-Session-State-URI/t/lib/Catalyst/Plugin/Test/Headers.pm
Log:
Another s/NEXT/MRO::Compat/
Modified: trunk/Catalyst-Plugin-Session-State-URI/t/lib/Catalyst/Plugin/Test/Headers.pm
===================================================================
--- trunk/Catalyst-Plugin-Session-State-URI/t/lib/Catalyst/Plugin/Test/Headers.pm 2009-03-25 21:00:44 UTC (rev 9579)
+++ trunk/Catalyst-Plugin-Session-State-URI/t/lib/Catalyst/Plugin/Test/Headers.pm 2009-03-26 09:31:17 UTC (rev 9580)
@@ -1,11 +1,12 @@
package Catalyst::Plugin::Test::Headers;
use strict;
+use MRO::Compat;
sub prepare {
my $class = shift;
- my $c = $class->NEXT::prepare(@_);
+ my $c = $class->next::method(@_);
$c->response->header( 'X-Catalyst-Engine' => $c->engine );
$c->response->header( 'X-Catalyst-Debug' => $c->debug ? 1 : 0 );
@@ -26,7 +27,7 @@
sub prepare_action {
my $c = shift;
- $c->NEXT::prepare_action(@_);
+ $c->next::method(@_);
$c->res->header( 'X-Catalyst-Action' => $c->req->action );
}
More information about the Catalyst-commits
mailing list