http://qs1969.pair.com?node_id=944650


in reply to Perl Script New Line problem

If you are using Perl v5.12 and up, you can simply say

 say $out_fh $line

say automatically adds a newline

--perl.j