Re: Private methods in classes and roles

2008-05-16 Thread John M. Dlugosz
Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote: S12 says (in the context of classes): my method think (Brain $self: $thought) (Such methods are completely invisible to ordinary method calls, and are in fact called with a different syntax that uses ! in place of the . character.

Re: Private methods in classes and roles

2008-05-16 Thread Moritz Lenz
and a few more thoughts: I wrote: > S12 says (in the context of classes): > > > my method think (Brain $self: $thought) > > (Such methods are completely invisible to ordinary method calls, and are > in fact called with a different syntax that uses ! in place of the . > character. See below.

Private methods in classes and roles

2008-05-16 Thread Moritz Lenz
S12 says (in the context of classes): my method think (Brain $self: $thought) (Such methods are completely invisible to ordinary method calls, and are in fact called with a different syntax that uses ! in place of the . character. See below.) And later on, in the context of roles: my m