Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: CSV EOL Question

by Eily (Vicar)
on Jan 22, 2014 at 16:02 UTC ( #1071641=note: print w/replies, xml ) Need Help??


in reply to CSV EOL Question

I have pulled up no information on what $/ means.
You'll find that in perlvar which is where all punctuation-named variables are documented. It is the input record separator. Its default value is newline, so it is often used instead of "\n" because it needs fewer key strokes. This might not work well if the input files do not have the same format as the ouput one (for exemple an input file with line ending on "\r") and $/ was not modified with proper care (read: with local and a small enough scope).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071641]
help
Chatterbox?
and not a whimper to be heard...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-02-20 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (295 votes). Check out past polls.