Open the two files, then read a line from each file on every iteration:
while (my $col1 = <FILE1>) { chomp $col1; my $col2 = <FILE2>; print "$col1\t$col2"; }
In reply to Re: How do you create a tab delimited txt file from two files?
by almut
in thread How do you create a tab delimited txt file from two files?
by elef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |