in reply to Perl Script New Line problem
print $out_fh $line ; #No need to chomp - we print the "\n" [download]
print $out_fh $line."\n" ; # we add a "\n" [download]