Re: [PBML] CSV processing: Text::CSV Vs DBD::CSV
- Hello Jenda,
Thanks for your response.
I am comfortable with SQL so I'll try that option too...
On Mon, Dec 29, 2008 at 1:17 AM, Jenda Krynicky <Jenda@...> wrote:
> From: YogS <mail2yogs@... <mail2yogs%40gmail.com>>
> > I process CSV a lot using my traditional split mechanism. Now i realised
> > modules are present for processing CSV.
> > To filter some data from CSV file.. what module should be usedText::CSV
> > DBD::CSV. Which is better and why...?
> There's also Text::CSV_XS.
> Which one is better depends on your needs. If you just need to read
> and process the whole CSV, you'll find Text::CSV_XS the quickest. If
> you need to do some filtering and/or grouping or join data from two
> or more CSVs and do know SQL then DBI+DBD::CSV will be easier.
> ===== Jenda@... <Jenda%40Krynicky.cz> === http://Jenda.Krynicky.cz=====
> When it comes to wine, women and song, wizards are allowed
> to get drunk and croon as much as they like.
> -- Terry Pratchett in Sourcery
[Non-text portions of this message have been removed]