while (my $col1 = ) { chomp $col1; last unless (my $col2 = ); print "$col1\t$col2"; }