[Moose-commits] r7532 - Moose/trunk/lib/Moose

autarch at code2.0beta.co.uk autarch at code2.0beta.co.uk
Wed Feb 4 14:25:57 GMT 2009


Author: autarch
Date: 2009-02-04 06:25:57 -0800 (Wed, 04 Feb 2009)
New Revision: 7532

Modified:
   Moose/trunk/lib/Moose/Role.pm
Log:
Attribute accessors do fulfill the requires requirement


Modified: Moose/trunk/lib/Moose/Role.pm
===================================================================
--- Moose/trunk/lib/Moose/Role.pm	2009-02-04 14:16:14 UTC (rev 7531)
+++ Moose/trunk/lib/Moose/Role.pm	2009-02-04 14:25:57 UTC (rev 7532)
@@ -262,14 +262,10 @@
 
 =item *
 
-The C<requires> keyword currently only works with actual methods. A method
-modifier (before/around/after and override) will not count as a fulfillment
-of the requirement, and neither will an autogenerated accessor for an attribute.
+The C<requires> keyword currently only works with actual methods. A
+method modifier (before/around/after and override) will not count as a
+fulfillment of the requirement.
 
-It is likely that attribute accessors will eventually be allowed to fulfill those
-requirements, or we will introduce a C<requires_attr> keyword of some kind
-instead. This decision has not yet been finalized.
-
 =back
 
 =head1 BUGS




More information about the Moose-commits mailing list