As is the case for all things Perl, CPAN is your answer:

http://search.cpan.org/~alancitt/Text-CSV-0.01/CSV.pm

NAME
       Text::CSV - comma-separated values manipulation routines

SYNOPSIS
        use Text::CSV;

        $version = Text::CSV->version();      # get the module version

        $csv = Text::CSV->new();              # create a new object

        $status = $csv->combine(@columns);    # combine columns into a
string
        $line = $csv->string();               # get the combined string

        $status = $csv->parse($line);         # parse a CSV string into
fields
        @columns = $csv->fields();            # get the parsed fields

        $status = $csv->status();             # get the most recent status
        $bad_argument = $csv->error_input();  # get the most recent bad
argument

DESCRIPTION
       Text::CSV provides facilities for the composition and
       decomposition of comma-separated values.  An instance of
       the Text::CSV class can combine fields into a CSV string
       and parse a CSV string into fields.

____________________________________________________________
Eamon Daly
NextWave Media Group LLC
Tel: 1 773 975-1115
Fax: 1 773 913-0970



----- Original Message ----- 
From: "David Perron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 1:07 PM
Subject: CSV Output


>
> Im looking for a way to output a file into true CSV format (with quoted
> fields) using the Perl DBI.
>
> Does anyone know of a way to do this (in either native MySQL or Perl)?
>
> Thanks as always!
>
>
>
>
>
>
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
>


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to