in reply to Re^2: swapping values between two files
in thread swapping values between two files

In that is removes all of the carriage returns and I end up with a continious stream of text.

yes, which is why you also have to change the print to print OUTFILE4 $_, "\n";