On 2003-01-17 at 14:15:46, I wrote:
> But as I see it, the real problem being solved by the new syntax
> is that grep and map can exist solely as methods on some class
> in the inheritance tree of @arrays, no global functions required.  
> That is a Good Thing.
I realize that such also be true if we just disallowed
that direction, requiring e.g. %hash.keys.grep().map().  I would
personally be perfectly happy with that restriction, and in fact
find the operation much clearer when written that way.  But I don't
see any harm in providing a mechanism to allow the reversal;
TMTOWDI is going to be as true of Perl6 as it is of Perl5.

-- 
Mark REED                    | CNN Internet Technology
1 CNN Center Rm SW0831G      | [EMAIL PROTECTED]
Atlanta, GA 30348      USA   | +1 404 827 4754

Reply via email to