--- Dave Storrs <[EMAIL PROTECTED]> wrote:

> for @a -> $x<; @b -> $y { $x = $y[5] };

Yes!!!

(Except for the '<'. That's feigen-ugly. I'll say "is r?" where needed,
regardless of which is the default. I prefer default=ro, though,
because that let's the optimizer do more by default.)

I proposed the multiple arrow thing a long while back, but it didn't
work out because of precedence with comma and because of
topicalizing/binding/etc.

But that was before semicolon which can have a different precedence
from arrow. And screw the binding -- it just looks right:

for @first -> $a;
    @pairs -> $b is rw, $c;
{
  print "woo-hoo!\n";
}

In fact, the semicolons even make it look like local variable
declarations from K&R 'C', so my frog-brain doesn't twitch.

>       What do you all think?  Any value here?

Beaucoup.
 
=Austin



__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

Reply via email to