use DBI; $dbh = DBI->connect("DBI:CSV:f_dir=.") or die "Cannot connect: " . $DBI::errstr; $dbh->do("INSERT INTO $table VALUES (?, ?)", undef, 2, "It's a string!"); $dbh->disconnect();