Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: problem with extra lines when using

by chipmunk (Parson)
on Aug 14, 2001 at 19:55 UTC ( [id://104821]=note: print w/replies, xml ) Need Help??


in reply to problem with extra lines when using

I suspect that you have "\r\n" line-endings, and somewhere along the way the \r is turning into an extra newline.

So, just s/\r\n/\n/g; before doing anything with the data, and you should be okay.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found