Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The easiest approaches are to use either DBD::CSV or to load your CSV data into a database and then to use SQL to run your queries against that. See also DBI. The harder approach would be to implement the aggregation yourself. As you don't show any code, it's hard to give you more specific advice, as I can't really tell where you are having problems. The synopsis section of DBD::CSV shows all there is to using a CSV file as a DBI table. In reply to Re: perl group by and sort from a csv input file
by Corion
|
|