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

dimensions in a multidimensional array

Thread Next
From:
Theo van den Heuvel
Date:
February 5, 2021 14:50
Subject:
dimensions in a multidimensional array
Message ID:
a39d332f4882c6b133d7c4938d851ea9@heuvelhlt.nl
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?

Thanks,

-- 
Theo van den Heuvel


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