3 ms·
> why is "private/public/protected" a must in front of every method and field ? You can omit them, and then the member is package private.
by EdwardDiego 4y ago
> why is "private/public/protected" a must in front of every method and field ?
You can omit them, and then the member is package private.
- p6steve 4y agoin Raku, this is: class A { has $!bar; #private has $.baz; #public (with autogenerated accessors) method !foo {} #private method foz {} #public }