Skip to content

Commit 56a4274

Browse files
committed
Reword to avoid . twigil right before a period
1 parent bb25905 commit 56a4274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/classtut.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ X<|accessor methods>
140140
X<|classes, accessors>
141141
142142
This scalar attribute (with the C<$> sigil) has a type of C<Bool>. Instead
143-
of the C<!> twigil, this twigil is C<.>. While Perl 6 does enforce
143+
of the C<!> twigil, the C<.> twigil is used. While Perl 6 does enforce
144144
encapsulation on attributes, it also saves you from writing accessor
145145
methods. Replacing the C<!> with a C<.> both declares the attribute
146146
C<$!done> and an accessor method named C<done>. It's as if you had written:

0 commit comments

Comments
 (0)