in reply to Re: CSV data processing
in thread CSV data processing
Strange as it may be, Text::CSV allows you to do
It is like an iterator over the file on a line-by-line basis.$colref = $csv->getline ($io); # Read a line from file $io, # parse it and return an array # ref of fields
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CSV data processing
by GrandFather (Saint) on Dec 10, 2008 at 00:07 UTC | |
by ikegami (Patriarch) on Dec 10, 2008 at 00:43 UTC | |
by CountZero (Bishop) on Dec 10, 2008 at 06:53 UTC | |
by normskib (Initiate) on Dec 10, 2008 at 09:58 UTC |