choosing a specific version of a driver
- From: punk.kish@xxxxxxxxx
- Date: 1 May 2006 12:09:33 -0700
I am in a situation (hosted web application) where I have to use the
system DBI, but would like to use my own specific version DBD::SQLite
installed in ~/usr/local/perl. I can't figure out how to (or even if it
is possible to) get the system DBI pick up my DBD and not the system
DBD. In my code...
use DBI;
my $dbh = DBI->connect("dbi:SQLite:dbname=$db") or die "Failed:
$DBI::errstr";
I see no opportunity to tell DBI->connect which driver to use. "use lib
'~/usr/local/perl'" doesn't seem to have any effect.
Advice welcome.
.
- Prev by Date: Re: Installing DBD::Oracle on HP/UX
- Next by Date: Possible Oracle 9.2.0.7 performance issue with DBD::Oracle's column_info()
- Previous by thread: Re: Installing DBD::Oracle on HP/UX
- Next by thread: Possible Oracle 9.2.0.7 performance issue with DBD::Oracle's column_info()
- Index(es):