|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^2: enoeding iso 8859 issue within a datadumpby Perlbeginner1 (Scribe) |
| on Oct 06, 2012 at 11:48 UTC ( [id://997618]=note: print w/replies, xml ) | Need Help?? |
|
i can try the Text::CSV module too.... The Text::CSV module provides functions for both parsing and producing CSV data. However, we'll focus on the parsing functionality here. The following code sample opens the prospects.csv file and parses each line in turn, printing out all the fields it finds.
Running the code produces the following output: And by replacing the line:
with:
we can get more particular about which fields we want to output. And while we're at it, let's skip past the first line of our csv file, since it's only a list of column names.
Running this code will give us the following output:
well i can get some analogies what do you think!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||