- or download this
File 1:
...
b 10 15
b 12 15
...
- or download this
file 2:
...
13 1
14 1
...
- or download this
#!/usr/bin/perl
...
print Dumper(\%hash_pos);
- or download this
a 12 15
a 12 17
...
a 14 19
b 10 15
b 12 15
- or download this
#a
1 0
...
20 0
21 0
- or download this
./test.pl -i file.2 -t file.1
- or download this
$VAR1 = {
'a ' => {
...
}
};
- or download this
without the mistake in my input file 1
...
}
};
- or download this
#!/usr/bin/perl
...
print Dumper(\%hash1);