http://www.perlmonks.org?node_id=643571


in reply to reading lines from 2 different files

indapa:

By your hashbang line, it appears that you're on a unix box, so you might try:

paste file1 file2 >outfile

...roboticus