develooper Front page | perl.perl6.language.data | Postings from September 2000

Re: RFC 206 (v1) Array: @#arr for getting the dimensions of an array

Thread Previous | Thread Next
From:
c.soeller
Date:
September 8, 2000 23:22
Subject:
Re: RFC 206 (v1) Array: @#arr for getting the dimensions of an array
Message ID:
m13Xdyj-002IJwC@csnote.mph.auckland.ac.nz
Perl6 RFC Librarian wrote:

> This RFC proposes using @#array, analogous to $#array, to get the list of
> upper bounds for a multidimensional array @array. The length of @#array
> would indicate the dimensionality of @array.

That's fine. This RFC does not seem to touch on the question what
$#array should be for a multidim array (e.g., $#array == $#{flatten @a}
or rather undef). Or is that dealt with in another RFC?

 Christian

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About