Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: CSV EOL Question

by Eily (Prior)
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]
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-06-22 04:51 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (121 votes). Check out past polls.