Michael Lazzaro asked:
(@foo, @bar) := @a . grep { $_ > 0} . sort { $^b <=> $^b } . part [/foo/, /bar/];Hmm. Does operator precedence allow that?
I don't think the method-call syntax allows it. I think methods
need their parens. So we need:
(@foo, @bar) := @a
. grep( { $_ > 0} )
. sort( { $^b <=> $^b } )
. part( [/foo/, /bar/] );
which is no huge imposition.
On the other hand, my C<then> proposal doesn't require parens at all. ;-)
Damian
