How to read a CSV file in Perl?
Feb 10, 2012, 12:00 (0 Talkback[s])
"If you want to extract out the data from 3rd column and
calculate the sum of all the numbers then the approach to do this
will be as follows:
Read the first line of the CSV file and extract out the 3rd
column. Assign the extracted value to a scalar variable and then
read the next line, extract out the value of 3rd column, add it to
the scalar variable which contains the first value and store result
in the same variable. Then read the 3rd line and so on?