Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: CSV EOL Question

by Eily (Parson)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071641]
NodeReaper slips on a banana skin

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-06-29 13:37 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (667 votes). Check out past polls.