Skip to content

Commit

Permalink
[OO] dot is a twigil, not a sigil
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Oct 19, 2009
1 parent 4fe7f7b commit 507c553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes-and-objects.pod
Expand Up @@ -95,7 +95,7 @@ purpose of our third attribute declaration.

This time, we have declared a scalar attribute (the C<$> sigil) that is of
type C<Bool>. Instead of the C<!> twigil, this time we have chosen the C<.>
sigil. While Perl 6 does enforce encapsulation on you, it also saves you
twigil. While Perl 6 does enforce encapsulation on you, 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 507c553

Please sign in to comment.