[Catalyst-commits] r7385 - Catalyst-Runtime/5.70/trunk/lib/Catalyst
jrockway at dev.catalyst.perl.org
jrockway at dev.catalyst.perl.org
Mon Jan 14 00:12:30 GMT 2008
Author: jrockway
Date: 2008-01-14 00:12:29 +0000 (Mon, 14 Jan 2008)
New Revision: 7385
Modified:
Catalyst-Runtime/5.70/trunk/lib/Catalyst/Action.pm
Log:
remove the "useless localization of subroutine entry" warning by removing the useless localization of subroutine entry
Modified: Catalyst-Runtime/5.70/trunk/lib/Catalyst/Action.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/lib/Catalyst/Action.pm 2008-01-13 22:45:35 UTC (rev 7384)
+++ Catalyst-Runtime/5.70/trunk/lib/Catalyst/Action.pm 2008-01-14 00:12:29 UTC (rev 7385)
@@ -38,7 +38,7 @@
sub dispatch { # Execute ourselves against a context
my ( $self, $c ) = @_;
- local $c->namespace = $self->namespace;
+ local $c->{namespace} = $self->namespace;
return $c->execute( $self->class, $self );
}
More information about the Catalyst-commits
mailing list