or without the need for the intermediate variables:
<$in>; while (<$in>) { chomp; print $out join ("\t", (split /\t/)[1,3]), "\n"; }
In reply to Re^2: extracting columns
by GrandFather
in thread extracting columns
by perllearner007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |