X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FComponent%2FContextClosure.pm;h=8c163e0754bce7da896d78686686a29f79c4b29e;hp=fb2606c5fe6774c01342d052f5d2c440eb207ed8;hb=eefc03e12890c06c9a76d78b4d68e3b2ad781328;hpb=432c4971046be0d5e2e678371de4d40bf028981d diff --git a/lib/Catalyst/Component/ContextClosure.pm b/lib/Catalyst/Component/ContextClosure.pm index fb2606c..8c163e0 100644 --- a/lib/Catalyst/Component/ContextClosure.pm +++ b/lib/Catalyst/Component/ContextClosure.pm @@ -2,7 +2,7 @@ package Catalyst::Component::ContextClosure; use Moose::Role; use Scalar::Util 'weaken'; -use namespace::autoclean; +use namespace::clean -except => [ 'meta' ]; sub make_context_closure { my ($self, $closure, $ctx) = @_; @@ -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'; @@ -63,9 +63,13 @@ L L +=begin stopwords + =head1 AUTHOR -Florian Ragwitz Erafl@debian.orgE +Florian Ragwitz + +=end stopwords =head1 COPYRIGHT