in reply to Re^3: Separate column results?!
in thread Separate column results?!
foreach $_ (@lines) { my @columns = split('\t', $_); chomp @columns; my $col1 = $columns[0]; my $col2 = $columns[1]; chomp $col1; chomp $col2; print "\n$columns[0]\t$columns[1]"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Separate column results?!
by philiprbrenan (Monk) on Aug 29, 2012 at 10:09 UTC |