* Jonathan Scott Duff ([EMAIL PROTECTED]) [20 Sep 2000 07:43]:
> On Wed, Sep 20, 2000 at 07:31:35AM +1100, iain truskett wrote:
[...]
> > $sorted = reduce { push @{ ^0 [ ^1 % 2 ] }, ^1; ^0 }, [[],[]], @numbers;

> I guess I'm confused with the syntax.  Shouldn't there be an -> in
> there?

> $sorted = reduce { push @{ ^0->[^1%2] }, ^1; ^0 }, [[],[]], @numbers;

I'd believe so. I think I mentally assumed that Damian was grabbing a
syntax trick from another RFC. He has some curious bits of syntax in
some of his RFCs. I seem to recall some RFC positing making '->' more
optional. Sorry about that =)

I must say that the ^0, ^1 style notation really makes some expressions
much more legible.


cheers,
-- 
iain truskett, aka Koschei.                    <http://eh.org/~koschei/>
You know you are addicted to coffee if...
     1  You grind your coffee beans in your mouth.

Reply via email to