From: Shawn M Moore Date: Tue, 2 Dec 2008 16:11:44 +0000 (+0000) Subject: POD fix X-Git-Tag: 0.05~47 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=086095514b8a393a07eaed347ea7fe5c774f7ee7;p=gitmo%2FMooseX-Role-Parameterized.git POD fix --- diff --git a/lib/MooseX/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized.pm index 47377c1..25e94ce 100644 --- a/lib/MooseX/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized.pm @@ -249,8 +249,8 @@ is a good thing). =head1 CAVEATS You must use this syntax to declare methods in the role block: -C sub { ... };>. This is due to a limitation in Perl. In return -though you can use parameters I! +C<< method NAME => sub { ... }; >>. This is due to a limitation in Perl. In +return though you can use parameters I! You must use all the keywords in the role block. If it turns out to be correct, we'll compose the parameterizable role (everything outside the role block) with