[Catalyst-commits] r9282 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Thu Feb 12 00:23:19 GMT 2009
Author: rafl
Date: 2009-02-12 00:23:18 +0000 (Thu, 12 Feb 2009)
New Revision: 9282
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Controller.pm
Log:
namespace::clean Catalyst::Controller.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Controller.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Controller.pm 2009-02-11 13:45:09 UTC (rev 9281)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Controller.pm 2009-02-12 00:23:18 UTC (rev 9282)
@@ -1,6 +1,9 @@
package Catalyst::Controller;
use Moose;
+
+use namespace::clean -except => 'meta';
+
# Note - Must be done at compile time due to attributes (::AttrContainer)
BEGIN { extends qw/Catalyst::Component Catalyst::AttrContainer/; }
@@ -387,8 +390,6 @@
return ( 'ActionClass', $value );
}
-no Moose;
-
__PACKAGE__->meta->make_immutable;
1;
More information about the Catalyst-commits
mailing list