Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: CSV EOL Question

by Eily (Priest)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2016-06-25 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.