Use clean instead of autoclean in the ContextClosure synopsis until we've fixed the...
Florian Ragwitz [Sun, 20 Sep 2009 14:01:51 +0000 (14:01 +0000)]
lib/Catalyst/Component/ContextClosure.pm

index fb2606c..18d09b7 100644 (file)
@@ -22,7 +22,7 @@ Catalyst::Component::ContextClosure - Moose Role for components which need to cl
 
     package MyApp::Controller::Foo;
     use Moose;
-    use namespace::autoclean;
+    use namespace::clean -except => 'meta';
     BEGIN {
         extends 'Catalyst::Controller';
         with 'Catalyst::Component::ContextClosure';