Help for this page
example of a 3x3: my @m = ([0,0,0], [0,0,0], [0,0,0]);
#!/usr/bin/perl -w use strict; ... } print "3x3 Matrix: "; print Dumper \@sq_matrix_3x3;
my @another_2D; for (my $x=0; $x<3; $x++) ... ]; # print Dumper \@sq_matrix_3x3; #these both produce the same output # print Dumper \@another_2D;