Re: slices

2001-05-24 Thread Raul Miller
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

Re: slices

2001-05-24 Thread James Mastros
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

slices

2001-05-24 Thread Raul Miller
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

re: properties

2001-05-24 Thread Damian Conway
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) {