Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl Script New Line problem

by Ratazong (Monsignor)
on Dec 21, 2011 at 08:54 UTC ( [id://944559]=note: print w/replies, xml ) Need Help??


in reply to Perl Script New Line problem

Simple. Change
print $out_fh $line ; #No need to chomp - we print the "\n"
to
print $out_fh $line."\n" ; # we add a "\n"
HTH, Rata

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://944559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found