Front page | perl.perl6.language |
Postings from May 2005
May 15, 2005 09:34
Message ID: 20050515163447.GL18368@c4.convolution.nl
Larry Wall skribis 2005-05-15 9:24 (-0700):
> On Sun, May 15, 2005 at 12:22:07PM -0400, Matt Diephouse wrote:
> : Does this mean private methods will be called like this?
> : ./:method()
> No, I think that's still just
Both, depending on what you're calling it on.
./:method # $?SELF.:method
.:method # $_.:method
The : is part of the method name.
I've been looking for a good moment to come with this, but there is
none, making this as good a point as any: I don't like the dot in
attributes, and the colon that replaces it.
If we have .method and .:method, then we should have $.attr and $.:attr.