Think about Loose Coupling | |
PerlMonks |
Re: Extract a column of csvby dasgar (Priest) |
on Jun 26, 2013 at 04:12 UTC ( [id://1040694]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|