From: Shawn M Moore Date: Tue, 2 Dec 2008 09:11:24 +0000 (+0000) Subject: More caveat tweaks X-Git-Tag: 0.05~51 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9d029b3d5e6f027ceea61789982b316c6ba42f09;p=gitmo%2FMooseX-Role-Parameterized.git More caveat tweaks --- diff --git a/lib/MooseX/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized.pm index 8d3ee66..29c17e5 100644 --- a/lib/MooseX/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized.pm @@ -250,9 +250,16 @@ 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! -L and L are not yet supported. Because -I'm totally unsure of whether they should be handled by this module, both -declaring and providing a parameter named C or C is an error. +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 +the parameterized role (everything inside the role block). We throw an error if +you try to use a keyword outside of the role block, so don't worry about it for +now. + +L and L are not yet supported. I'm +completely unsure of whether they should be handled by this module. Until we +figure out a plan, both declaring and providing a parameter named C or +C is an error. =head1 AUTHOR