in reply to Re^2: How do you create a tab delimited txt file from two files?
in thread How do you create a tab delimited txt file from two files?
the above will stop at the end of the shorter filewhile (my $col1 = <FILE1>) { chomp $col1; last unless (my $col2 = <FILE2>); print "$col1\t$col2"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do you create a tab delimited txt file from two files?
by moritz (Cardinal) on Jul 29, 2010 at 09:35 UTC | |
|
Re^4: How do you create a tab delimited txt file from two files?
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 |