in reply to Reading and writing CSV

Whilst you *can* use DBI to look at CSV files with the DBD::CSV driver, you're probably better off just using the Text::CSV (pure-perl) or Text::CSV_XS (perl and C) module. Try the C version first, cos it's faster, but if you're programming on Windows you might have to use the pure perl version.

Replies are listed 'Best First'.
Re: Re: Reading and writing CSV
by Jenda (Abbot) on Jun 04, 2003 at 19:34 UTC

    Text::CSV_XS is available via PPM compiled for ActivePerl. Run

    ppm install Text-CSV_XS
    and off you go :-)

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

      Ah, I thought PPM still relied on having a C compiler, but just put modules into Windows' database so you could easily uninstall them or sumfink. That's useful to know, thanks.