On Saturday, February 8, 2003, at 02:53 AM, Luke Palmer wrote:
If you're talking about your own Cfor example, actually, this would
match it better:
grep $x - @list { $x eq 3 }
But if you're talking about A4's:
grep @list - $x { $x eq 3 }
Which is very close to (one of) the currently
--
On Fri, 7 Feb 2003 16:28:43
gpurdy wrote:
All --
A4 gives this example of Cfor:
for @foo - $a, $b { ... } # for @foo into $a and $b...
but, this seems more natural to me (and, it turns out, closer to the P5
syntax for ill or good):
for $a, $b - @foo { ... } # for $a and $b
All --
A4 gives this example of Cfor:
for @foo - $a, $b { ... } # for @foo into $a and $b...
but, this seems more natural to me (and, it turns out, closer to the P5
syntax for ill or good):
for $a, $b - @foo { ... } # for $a and $b from @foo...
(heck, that even looks like shifting --
From: [EMAIL PROTECTED]
Date: Fri, 7 Feb 2003 16:28:43 -0500
A4 gives this example of Cfor:
for @foo - $a, $b { ... } # for @foo into $a and $b...
but, this seems more natural to me (and, it turns out, closer to the P5
syntax for ill or good):
for $a, $b - @foo { ... } #