Author: lwall Date: 2009-05-04 23:23:49 +0200 (Mon, 04 May 2009) New Revision: 26674
Modified: docs/Perl6/Spec/S05-regex.pod docs/Perl6/Spec/S12-objects.pod Log: [S12] clarify has = semantics Modified: docs/Perl6/Spec/S05-regex.pod =================================================================== --- docs/Perl6/Spec/S05-regex.pod 2009-05-04 21:20:46 UTC (rev 26673) +++ docs/Perl6/Spec/S05-regex.pod 2009-05-04 21:23:49 UTC (rev 26674) @@ -3684,7 +3684,7 @@ PerlĀ 6 will come with at least one grammar predefined: - grammar Perl { # Perl's own grammar + grammar STD { # Perl's own standard grammar rule prog { <statement>* } Modified: docs/Perl6/Spec/S12-objects.pod =================================================================== --- docs/Perl6/Spec/S12-objects.pod 2009-05-04 21:20:46 UTC (rev 26673) +++ docs/Perl6/Spec/S12-objects.pod 2009-05-04 21:23:49 UTC (rev 26674) @@ -12,8 +12,8 @@ Maintainer: Larry Wall <la...@wall.org> Date: 27 Oct 2004 - Last Modified: 30 Apr 2009 - Version: 81 + Last Modified: 4 May 2009 + Version: 82 =head1 Overview @@ -653,7 +653,12 @@ will be the attribute being initialized, while "self" refers to the entire object being initialized. The closure will be called at the end of the C<BUILD> only if the attribute is not otherwise initialized -in either the signature or the body of the C<BUILD>. +in either the signature or the body of the C<BUILD>. The closure +actually defines the body of an anonymous method, so C<self> is available +with whatever attributes are constructed by that point in time (including +all parent attributes). The initializers are run in order of declaration +within the class, so a given initializer may refer back to an attribute +defined in a preceding C<has> declaration. Class attributes are declared with either C<my> or C<our>. The only difference from ordinary C<my> or C<our> variables is that an accessor