Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reword to avoid . twigil right before a period
  • Loading branch information
zoffixznet committed Oct 30, 2015
1 parent bb25905 commit 56a4274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/classtut.pod
Expand Up @@ -140,7 +140,7 @@ X<|accessor methods>
X<|classes, accessors>
This scalar attribute (with the C<$> sigil) has a type of C<Bool>. Instead
of the C<!> twigil, this twigil is C<.>. While Perl 6 does enforce
of the C<!> twigil, the C<.> twigil is used. While Perl 6 does enforce
encapsulation on attributes, it also saves you from writing accessor
methods. Replacing the C<!> with a C<.> both declares the attribute
C<$!done> and an accessor method named C<done>. It's as if you had written:
Expand Down

0 comments on commit 56a4274

Please sign in to comment.