- or download this
for (@file1) {
$h{join ' ',(split / /)[0..3]} = $c++;
}
- or download this
while (<DATA>) {
$key = join ' ',(split / /)[0..3];
...
print if $_ ne $file1[$h{$key}];
}
}
- or download this
use strict;
use warnings;
...
A C B D E F H
D B C A I F G
B B C D E F G