On 2015-08-18 14:21:39 +0000, Adkins, Blake wrote: > My script works on the .csv file using dbi:CSV:f_dir and pointing to > different files for different projects. [...] > I'm using the DBI module in Perl, would this be better with the other modules > mentioned?
[the other module mentioned being DBD::CSV] The DBD modules are database specific drivers for DBI. So if you use DBI to connect to "dbi:CSV:f_dir=foo", it will call DBD::CSV behind the scenes (similarily, if you connected to "dbi:Pg:dbname=foo", it would call DBD::Pg, etc.). The DBD modules are not intended to be used standalone, you always use them indirectly through DBI. See the perldoc page for DBI which explains the architecture quite well. hp -- _ | Peter J. Holzer | I think we need two definitions: |_|_) | WSR - Softwaredevelopment | 1) The problem the *users* want us to solve | | | und Projektunterstützung | 2) The problem our solution addresses. __/ | h...@wsr.ac.at | -- Phillip Hallam-Baker on spam
signature.asc
Description: Digital signature