in reply to parallel reading
What you want is what the unix "paste" command does. Someone has written a perl version of "paste" already (google for "perl power tools").
(update: in case you have trouble finding it, here's the source for a perl implementation of paste: http://ppt.perl.org/commands/paste/paste.randy)
|
|---|