Re: a syntax derived from constant-time hash-based n-dim matrices in perl 5
[email protected] (Nathan Wiger) Fri, 01 Sep 2000 09:31:27 -0700
| Newsgroups | perl.perl6.language.data |
|---|---|
| Message-ID | <[email protected]> |
"David L. Nicol" wrote:
>
> @a["@{\(getindices())}"];
> @a[join $",$r->get_x, $r->get_y];
My point exactly by these statements:
> > Either of these could return an arrayref, but forcing quotes around them
> > means you'll need inbetweener variables or the @{} construct, neither of
> > which is really gracious.
Personally, I think this is really gross. I don't think array indices
are something that we should have to go to such lengths to get. I'd
rather have a somewhat-confusing ; or , based syntax than the above. If
anything that's *more* confusing and harder to read.
-Nate