X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FRole%2FParameterized.pm;h=29c17e5572b952659a86c1707f3d4816a5094805;hb=9d029b3d5e6f027ceea61789982b316c6ba42f09;hp=8d3ee66ca40de3d745d0c64321676c0763e117b8;hpb=d9e02904b2452dfcbbd103fd47287e266e0ca173;p=gitmo%2FMooseX-Role-Parameterized.git 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