use strict; use Apache::Constants qw(:common); use Apache::Request; use DBI; use CGI::Carp; sub handler { my $r=Apache::Request->new(shift); carp("calling DBI:CSV connect"); DBI->trace( 2, 'dbitrace.log' ); my $dbh1 = DBI->connect("DBI:CSV:f_dir=/local/tmp") or die carp("$DBI::errstr $!") carp("after DBI:CSV connect"); ....some other stuff.... return OK; }