Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my $file2_element = (split /\t/, $line)[5];
        print $_ . "\t$hash1{$file2_element}\n" if exists $hash1{$file2_el
    +ement};
    }
    
  2. or download this
    $ perl -e '
    use strict;
    ...
    > print $_ . "\t$hash1{$file2_element}\n" if exists $hash1{$file2_elem
    +ent};
    > } ' file1.txt file2.txt