On Sun, Apr 25, 2004 at 08:16:30PM -0700, Dave Whipp wrote:
> Abhijit A. Mahabal wrote:
>
> >>> *{"Foo::name1"} = -> $a { $a->{name1} };
> >>
> >>If I read A12 correctly, this could be written as:
> >>
> >> &Foo::$name1 := -> $a {$a.name1};
> >>
> >
> >
> >Could be; that sounds somewhat right, but
Abhijit A. Mahabal wrote:
*{"Foo::name1"} = -> $a { $a->{name1} };
If I read A12 correctly, this could be written as:
&Foo::$name1 := -> $a {$a.name1};
Could be; that sounds somewhat right, but could you point out where in A12
because a search for := revelaed nothing relevant to me.
Sorry, t
On Sun, 25 Apr 2004, Dave Whipp wrote:
>
> "Abhijit A. Mahabal" <[EMAIL PROTECTED]> wrote:
> > Symbol tables and typeglobs and such belong to A10... and the * has been
> > stolen... so I'll just speculate in pseudocode.
> > Blocks-are-subroutines makes life easier, and in pseudocode that can be
>
"Abhijit A. Mahabal" <[EMAIL PROTECTED]> wrote:
> Symbol tables and typeglobs and such belong to A10... and the * has been
> stolen... so I'll just speculate in pseudocode.
> Blocks-are-subroutines makes life easier, and in pseudocode that can be
> just:
> *{"Foo::name1"} = -> $a { $a->{name1} }
On Sat, 24 Apr 2004, John Siracusa wrote:
> Based on the "default accessors and encapsulation" thread, it seems like a
> Perl 6 equivalent of Class::MethodMaker will be still be useful in our (or
> at least "my") Brave New World. I've been pondering the best way to create
> such a beast in Perl
Based on the "default accessors and encapsulation" thread, it seems like a
Perl 6 equivalent of Class::MethodMaker will be still be useful in our (or
at least "my") Brave New World. I've been pondering the best way to create
such a beast in Perl 6.
The most common two Perl 5 techniques are:
1. U