Like this???
print OUT "one: $_" while (<ONE>); print OUT "two: $_" while (<TWO>); [download]
In reply to Re: print out by ikegami in thread File names with interpolated variables by Anonymous Monk