First off, sorry about the noise -- I expect that Larry will have this
mostly worked out already. [And, when I re-read Apocalypse 2, I saw
that I had almost literally stolen some of his sentences. *blush*]
On Thu, May 24, 2001 at 10:19:12PM -0400, James Mastros wrote:
> But what about: @foo[(1,2
From: "Raul Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 7:49 PM
Subject: slices
> First: @a[@(...)] looks plausible as a slice syntax. Or -- if you
> specify an array value as an index, shouldn't that be a slice?
I like your second choice better. That is to s
Caution: I'm not yet up to speed on everything perl6. However, I've
dealt with stuff like slices in a variety of non-perl contexts, and
maybe I'll propose some questions which no one has brought up, yet.
First: @a[@(...)] looks plausible as a slice syntax. Or -- if you
specify an array value as
MJD just pointed out a minor thinko in the explanatory Perl6 code I posted:
sub gorkulator {
...
return $result is true if defined $result;
return undef is Because($borked);
}
# and later...
if ($res = gorkulator) {