Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: removing \n with for each

by davido (Archbishop)
on Jun 13, 2013 at 15:38 UTC ( #1038777=note: print w/replies, xml ) Need Help??


in reply to removing \n with for each

I have written this code to extract columns from a csv file ,

Arrgghhhhhh! Noooooooooo! Text::CSV

(Whew, that feels better.)

Unless your goal is to learn how to write a CSV parser, don't write code to parse CSV files; it's been done (correctly) on CPAN.


Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2016-09-28 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (541 votes). Check out past polls.