in reply to Re^2: Trouble getting DBD::CSV to work
in thread Trouble getting DBD::CSV to work
Your original post said "dbi:CSV:f_dir:/root, which was obviously wrong, and thus most likely the cause of failure.
Assuming you have recent enough versions of the modules you use, what is the output of:
use strict; use warnings; use DBI; my $dbh = DBI->connect ("dbi:CSV:", undef, undef, { f_dir => "/root", f_ext => ".csv/r", RaiseError => 1, PrintError => 1, ShowErrorStatement => 1, }); print "DBI-$DBI::VERSION\n"; print "DBD::CSV-$DBD::CSV::VERSION\n"; print "Text::CSV_XS-$Text::CSV_XS::VERSION\n"; print "SQL::Statement-$SQL::Statement::VERSION\n"; print "\n"; print "$_\n" for $dbh->tables (undef, undef, undef, undef);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Trouble getting DBD::CSV to work
by paulski82 (Novice) on Aug 05, 2014 at 09:00 UTC | |
by Tux (Canon) on Aug 05, 2014 at 09:31 UTC | |
by paulski82 (Novice) on Aug 05, 2014 at 12:05 UTC | |
by Tux (Canon) on Aug 05, 2014 at 12:08 UTC |