my @dd = ( [ 11, 12, 13], [ 21, 22, 23], [ 31, 32, 33], [41, 42, 43], ); print "Number of rows: ", scalar @dd, "\n";