my $sql_query = "SELECT * FROM export"; my $dbh = DBI->connect ("dbi:CSV:f_dir:/root", undef, undef, { f_ext => ".csv", RaiseError => 1, } ); #### my $sth = $dbh->prepare($sql_query); $sth->execute(); #### $dbh = DBI->connect ("dbi:CSV:f_dir:/root", undef, undef, { f_ext => ".csv/r", RaiseError => 1, }) or die "Cannot connect: $DBI::errstr"; my $sql_query = "SELECT * FROM export"; my $sth = $dbh->prepare($sql_query); $sth->execute(); #### my $sql_query = "SELECT * FROM export"; my $sth = $dbh->prepare($sql_query); $sth->execute(); #### my $sth = $dbh->prepare ("SELECT * from export"); $sth->execute(); #### $sth->finish(); $dbh->disconnect(); #### my $dbh = DBI->connect ("dbi:CSV:f_dir:/root", undef, undef, { f_ext => ".csv", RaiseError => 1, } );