Front page | perl.perl6.language |
Postings from May 2005
Re: ./method
Thread Previous
|
Thread Next
From:
Matt Diephouse
Date:
May 15, 2005 09:22
Subject:
Re: ./method
Message ID:
198c87380505150922c19c645@mail.gmail.com
Larry Wall <larry@wall.org> wrote:
> On Sun, May 15, 2005 at 01:44:44PM +0200, Juerd wrote:
> : A few days ago, when typing ./pugs,... You can guess the rest :)
> :
> : I suggest
> :
> : ./method
> :
> : to mean $?SELF.method, and
> :
> : ../method
> :
> : to mean $?SELF.SUPER::method, or however that's normally written.
>
> That's almost terminally cute, but I like it. Unless someone can
> think of a major objection (such as that it makes it too easy to use
> SUPER semantics rather than NEXT semantics), let's go with it.
Does this mean private methods will be called like this?
./:method()
FWIW, I like the original spec best. I'm not sure that the problems
with it aren't being exaggerated. But I've not written much Perl 6 yet
either...
--
matt diephouse
http://matt.diephouse.com
Thread Previous
|
Thread Next