On Fri, Oct 26, 2001 at 01:53:09PM -0500, Jonathan Scott Duff wrote:
> Actually, I think it becomes:
>
> sub foo is method {
> my $old = .foo;
> .foo = shift if @_;
> return $old;
> }
>
> But, I could be wrong. Any Damians care to enlighten? :-)
I'm not a Damian, but that's the way I understand (and hope) it will be.
My primary hope for Perl 6 OO is that I won't have to type "$self"
3298 times a day.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Let's leave my ass out of this, shall we?