Larry Wall larry-at-wall.org |Perl 6| wrote:
Alternately, we leave @@ (or @%) meaning ¢ and instead let some
other syntax take over the pay attention to the capture's structure
semantics from @@. Maybe it's another use for the zen slice:
pay attention to the capture's structure is a can
Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote:
So, how do I deal with a multidim array? Well, TIMTOWTDI...
my @a = 1,[2,[3,4]];
say @a[1][1][1];
say @a[1;1;1]; # I'm not sure this is correct
I think that it should be. That is, multi-dim subscript is always the
same as chained
Ok, There's one thing that is not clear in the thread, which is when an
array is multidimensional or not...
For instance:
@a = (1, 2, 3; 4, 5, 6; 7, 8, 9);
Will produce a flatten array, because list assignment causes flattening,
so the dimensionality was lost.
It is important to remember that
On Fri, Jun 12, 2009 at 11:51 AM, Daniel Ruosodan...@ruoso.com wrote:
Ok, There's one thing that is not clear in the thread, which is when an
array is multidimensional or not...
For instance:
�...@a = (1, 2, 3; 4, 5, 6; 7, 8, 9);
Will produce a flatten array, because list assignment causes
Em Sex, 2009-06-12 às 11:52 -0700, Jon Lang escreveu:
On Fri, Jun 12, 2009 at 11:51 AM, Daniel Ruosodan...@ruoso.com wrote:
Ok, There's one thing that is not clear in the thread, which is when an
array is multidimensional or not...
For instance:
@a = (1, 2, 3; 4, 5, 6; 7, 8, 9);
Will
On Fri, Jun 12, 2009 at 04:00:10PM -0300, Daniel Ruoso wrote:
: Em Sex, 2009-06-12 às 11:52 -0700, Jon Lang escreveu:
: On Fri, Jun 12, 2009 at 11:51 AM, Daniel Ruosodan...@ruoso.com wrote:
: Ok, There's one thing that is not clear in the thread, which is when an
: array is multidimensional