Help for this page

Select Code to Download


  1. or download this
    my @matrix;
    foreach my $line(@filecontents) {
        chomp $line;
        push @matrix, [ split /\s+/, $line ];
    }
    
  2. or download this
    $VAR1 = [
              [
    ...
              ]
            ];