Help for this page

Select Code to Download


  1. or download this
    for my $nr (1..2) {
     for my $line (read_file('file'.$nr)) {
    ...
      push @{$data[$nr - 1]->{shift(@cols)}},\@cols;
     }
    }
    
  2. or download this
    # expecting file3 line in @col
    my @results = ($col[0],$col[3]);
    ...
       $diff_a <=> $diff_b;
      } @{$dataset->{$col[0]}})[0]->[2];
    }