Use clean instead of autoclean in the ContextClosure synopsis until we've fixed the...
[catagits/Catalyst-Runtime.git] / 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';