Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-08 Thread Damian Conway
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

Re: L2R/R2L syntax (was Re: Everything is an object.)

2002-12-19 Thread Luke Palmer
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

<    1   2