Trey Harris wrote:
I love this.
And any class could override the ~ operator, right?
Right.
I suppose it could be done like arithmetic
overloading, if you define both ~ (I'm being pointed at from the right)
and ~ (I'm being pointed at from the left) in your class then Perl will
use
On Thursday, December 19, 2002, at 08:35 AM, Brent Dax wrote:
# @a.grep( {...} )
# .map( {...} )
# .sort;
If we put in my idea of longest possible signature when there's no
parens and a low-precedence 'dot' operator, we could do this without
the
parens. *ducks*
:-) I
Date: Thu, 19 Dec 2002 10:42:27 -0800
From: Michael Lazzaro [EMAIL PROTECTED]
Honestly, I still don't see what's so evil about R2L as:
@out = sort given map {...} given grep {...} given @a;
It seems to solve all the issues with not needing parens, not requiring
{...} to magically
101 - 103 of 103 matches
Mail list logo