> From: "Me" <[EMAIL PROTECTED]> > Date: Mon, 9 Dec 2002 02:12:41 -0600 > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > > > > [regarding -> as a left-to-right pipe-like operator] > > > > '->' isn't (in my mind) "a left-to-right > > flow/assignment operator." It's a unary > > operator, synonymous with "sub" without > > parens required around the argument list. > > You seem to be forgetting: > > given $foo -> $_ > > and cousins.
Nope, I'm not. given $foo -> $_ { ... } given $foo { ... } given $foo sub { ... } Are all equivalent (if sub topicalizes its first parameter). Thus, the signature of given, for, et cetera, is: sub given($var, &block) { ... } # Without the comma, somehow. Luke