in reply to How do you create a tab delimited txt file from two files?
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"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do you create a tab delimited txt file from two files?
by elef (Friar) on Jul 29, 2010 at 08:17 UTC | |
by Utilitarian (Vicar) on Jul 29, 2010 at 08:47 UTC | |
by moritz (Cardinal) on Jul 29, 2010 at 09:35 UTC | |
by elef (Friar) on Jul 29, 2010 at 09:02 UTC | |
by Marshall (Canon) on Jul 29, 2010 at 12:47 UTC | |
by elef (Friar) on Jul 29, 2010 at 15:52 UTC |