develooper Front page | perl.perl6.users | Postings from February 2021

dimensions in a multidimensional array

Thread Next
Theo van den Heuvel
February 5, 2021 14:50
dimensions in a multidimensional array
Message ID:
Hi gurus,

I cannot seem to find an idiomatic way to get the dimensions of a 
multidimensional array,
other than by looking at the size of the first row and column, with 
@m[0;*].elems and @m[*;0].elems.
Am I missing something in the docs?


Theo van den Heuvel

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About