Ok. How about: @a([$i,$j,$k], [$x,$y,$z]); as far as I know this should be ok? Baris. *********** REPLY SEPARATOR *********** On 8/31/00 at 3:02 PM Jeremy Howard wrote: >Baris wrote: >> > @a[[$i,$j,$k], [$x,$y,$z]] >> >> I think it is more readable if you have different type of parantheses: >> @a[($i,$j,$k), ($x,$y,$z)] >> >But > > [$i,$j,$k], [$x,$y,$z] > >is a list of list refs (because a list is created inside []). OTOH > > ($i,$j,$k), ($x,$y,$z) > >would be flattened into a single list. I like P5 list flattening, and >wouldn't want to see it go. I also wouldn't want to see it applied >inconsistently.
- Re: n-dim matrices Buddha Buck
- Re: n-dim matrices Baris
- Designing Perl 6 data crunching (was Re... Jeremy Howard
- Re: Designing Perl 6 data crunching (wa... Christian Soeller
- Re: Designing Perl 6 data crunching (wa... Baris
- Re: Designing Perl 6 data crunching (wa... Jeremy Howard
- Re: Designing Perl 6 data crunching (wa... Baris
- Re: Designing Perl 6 data crunching (wa... Jeremy Howard
- Re: Designing Perl 6 data crunching (wa... Christian Soeller
- Re: Designing Perl 6 data crunching (wa... Karl Glazebrook
- a syntax derived from constant-time hash-ba... Baris
- a syntax derived from constant-time hash-based ... David L. Nicol
- Re: a syntax derived from constant-time has... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Nathan Wiger
- Re: a syntax derived from constant-time... David L. Nicol
- Re: a syntax derived from constant-time... Karl Glazebrook
- Re: a syntax derived from constant-time... c . soeller
- Re: n-dim matrices Karl Glazebrook