Skip to content
Permalink
Browse files

Clarifying visibility of variables refs #2876

  • Loading branch information...
JJ committed Jul 4, 2019
1 parent a314d6d commit ef8b0d2c3e0ea8affc15be7368c0bb2c138a7446
Showing with 2 additions and 1 deletion.
  1. +2 −1 doc/Language/classtut.pod6
@@ -335,7 +335,8 @@ submethods|/language/classtut#index-entry-OOP> for an alternative example on how
to do this. Since C<TWEAK> is called in every object instantiation, it's
incremented twice when creating objects of class C<Str-with-ID-and-tag>; this is
a I<class hierarchy> variable that is shared by all subclasses of
C<Str-with-ID>.
C<Str-with-ID>. Additionally, class variables declared with package scope are
visible via their FQN, while lexically scoped class variables are "private".
=head1 Static fields?

0 comments on commit ef8b0d2

Please sign in to comment.
You can’t perform that action at this time.