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 method !foo ...
my method foo ... # same, but &foo is aliased to &!foo
Am I right in assuming that the second example is valid only for roles?
I find this different syntax for classes and roles quite confusing. Is
it intended that way? I'd welcome a uniform syntax.
Cheers,
Moritz
--
Moritz Lenz
http://moritz.faui2k3.org/ | http://perl-6.de/