- or download this
use strict;
use warnings;
...
foo|bar|baz
aaa|bbb|ccc
ddd|eee|fff
- or download this
use strict;
use warnings;
...
foobarbaz
aaabbbccc
dddeeefff
- or download this
my @rtn = @cols[0,2]; #Grab the 1st and 3rd column
print join(' # ',@rtn);
print "\n";