Fix a syntax error in the ContextClosure pod.
Florian Ragwitz [Sun, 20 Sep 2009 14:01:45 +0000 (14:01 +0000)]
lib/Catalyst/Component/ContextClosure.pm

index 23e1381..fb2606c 100644 (file)
@@ -33,7 +33,7 @@ Catalyst::Component::ContextClosure - Moose Role for components which need to cl
         $ctx->stash(a_closure => $self->make_context_closure(sub {
             my ($ctx) = @_;
             $ctx->response->body('body set from closure');
-        }, $ctx);
+        }, $ctx));
     }
 
 =head1 DESCRIPTION