From 507c553f7c3d9361dddfdf00fd108d4c51036057 Mon Sep 17 00:00:00 2001 From: Carl Masak Date: Mon, 19 Oct 2009 13:48:11 +0200 Subject: [PATCH] [OO] dot is a twigil, not a sigil --- src/classes-and-objects.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes-and-objects.pod b/src/classes-and-objects.pod index 15acc7a..8f6b86c 100644 --- a/src/classes-and-objects.pod +++ b/src/classes-and-objects.pod @@ -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. 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. It's as if you had written: