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

Re: Extract a column of csv

by dasgar (Curate)
on Jun 26, 2013 at 04:12 UTC ( #1040694=note: print w/ replies, xml ) Need Help??

in reply to Extract a column of csv

On one hand, Text::CSV doesn't provide a built-in function to pull out just one specific column from a CSV file. On the other hand, you can use that module to do just that. In fact, I've written code to do something like that for use at work. The basic concepts are to parse the CSV one line at a time within a loop and then pull the desired column to store/print/etc.

Comment on Re: Extract a column of csv

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-28 02:53 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (737 votes), past polls