Skip to content

Commit c273e33

Browse files
committed
name twigils for private attributes
1 parent c4bbda1 commit c273e33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Language/typesystem.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ TODO
2828
2929
=head4 Private Attributes
3030
31-
Private attributes do not have public accessor methods generated automatically.
32-
As such they can not be altered from outside the class they are defined in.
31+
Private attributes are addressed with any of the twigils C<$!>, C<@!> and
32+
C<%!>. They do not have public accessor methods generated automatically. As
33+
such they can not be altered from outside the class they are defined in.
3334
3435
class C {
3536
has $!priv;

0 commit comments

Comments
 (0)