[EMAIL PROTECTED] wrote:
+Arrays may also be defined with a mixture of fixed and autoextending
+dimensions:
+
+my @calendar[12;*;24]; # "Month" dimension unlimited
+
+
Move this out of the section on fixed-length arrays and into the
section on multidimensional arrays; it fits most natur
On Thu, Mar 29, 2007 at 01:21:27AM -0700, Darren Duncan wrote:
: At 7:28 PM -0700 3/28/07, [EMAIL PROTECTED] wrote:
: > =head1 Multidimensional arrays
: >
: >+Perl 6 arrays are not restricted to being one-dimensional (that's simply
: >+the default). To declare a multidimensional array, you specify
HaloO,
[EMAIL PROTECTED] wrote:
+Similarly, within a C<.{}> indexing operation you can use C<*[$idx]>
+to convert from standard indices to user-defined:
+
+@lengths{ *[2] .. Oct } # Same as: @lengths{ Jan .. Oct }
Isn't that same as @length{Mar..Oct}?
--
At 7:28 PM -0700 3/28/07, [EMAIL PROTECTED] wrote:
=head1 Multidimensional arrays
+Perl 6 arrays are not restricted to being one-dimensional (that's simply
+the default). To declare a multidimensional array, you specify it with a
+semicolon-separated list of dimension lengths:
+
+my int @in