Help for this page

Select Code to Download


  1. or download this
    my $cols = @{$mat[0]};
  2. or download this
    @mat == grep {
        @{$_} == @{$mat[0]};
    } @mat or die '@mat not well-formed';