X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FFollowPBP.pm;fp=lib%2FMooseX%2FFollowPBP.pm;h=20d61e6af60fcd2caf589fd3f49444aea003b265;hb=070b11b425943853422c301ad85d9c2e386c9d58;hp=b9a567947004576a6058764e241effa2fc74ea20;hpb=657eec56d78dfac9c138484c7c91bad427211d74;p=gitmo%2FMooseX-FollowPBP.git diff --git a/lib/MooseX/FollowPBP.pm b/lib/MooseX/FollowPBP.pm index b9a5679..20d61e6 100644 --- a/lib/MooseX/FollowPBP.pm +++ b/lib/MooseX/FollowPBP.pm @@ -50,6 +50,19 @@ get and set method will also have an underscore prefix. If you explicitly set a "reader" or "writer" name when creating an attribute, then that attribute's naming scheme is left unchanged. +=head1 ACCESSORS IN ROLES + +Prior to version 1.9900 of L, attributes added to a class ended up with +that class's attribute traits. That means that if your class used +C, any attributes provided by roles you consumed had the +semi-affordance style of accessor. + +As of Moose 1.9900, that is no longer the case. Attributes provided by roles +no longer acquire the consuming class's attribute traits. However, with Moose +1.9900+, you can now use C directly in roles. Attributes +defined by that role will have semi-affordance style accessors, regardless of +what attribute traits the consuming class has. + =head1 BUGS Please report any bugs or feature requests to