in reply to Problems using DBD::CSV

You might also see if the line endings are what DBD::CSV thinks they should be. Win32 programs have a tendency to stick a carriage-return at the end of every line, which might screw up DBD::CSV from reading the file properly unless you tell it so using the csv_eol setting in the connect() call.

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re: Re: Problems using DBD::CSV
by MrCromeDome (Deacon) on Feb 14, 2002 at 16:59 UTC
    That seemed to do the trick! Changed my connect line to this:
    my $filehandle = DBI->connect("DBI:CSV:f_dir=$files;csv_eol=\n");
    and things worked like a charm :)

    Thanks for all the help,
    MrCromeDome