package MyApp::Controller::Foo;
use Moose;
- use namespace::autoclean;
+ use namespace::clean -except => 'meta';
BEGIN {
extends 'Catalyst::Controller';
with 'Catalyst::Component::ContextClosure';
$ctx->stash(a_closure => $self->make_context_closure(sub {
my ($ctx) = @_;
$ctx->response->body('body set from closure');
- }, $ctx);
+ }, $ctx));
}
=head1 DESCRIPTION
L<CatalystX::LeakChecker>
+=begin stopwords
+
=head1 AUTHOR
Florian Ragwitz E<lt>rafl@debian.orgE<gt>
+=end stopwords
+
=head1 COPYRIGHT
This library is free software. You can redistribute it and/or modify it under