Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    while(my $row = $csv->getline($fh)) {
        # Do something with $row
    }
    
  2. or download this
    my %lookup;  # The hash that maps "in-house" to "different" and vice v
    +ersa
    
    ...
        my $sample_name = $in_house_row->[0];
        next if ! defined $lookup{$sample_name};
    }