Jul 28, 2006, 11:00 PM
Post #1 of 2
problem with dbi and dbd installation
there is a problem with connecting oracle db. when i try to establish a connection by a sample script..given below
my $dbh = DBI->connect('DBI:Oracle:dsn','scott','tiger') or die "can't connect to the database";
my $sth = $ddh->prepare('select * from emp') or die 'u r dead';;
my $result= $sth->execute();
$eno = $arr;
i got the follwoing error..
DBI object version 1.50 does not match $DBI::VERSION 1.51 at C:/Perl/lib/DynaLoader.pm line 253.
BEGIN failed--compilation aborted at C:/Perl/lib/DBI.pm line 259.
Compilation failed in require at C:/Perl/lib/Oracle.pm line 16.
BEGIN failed--compilation aborted at C:/Perl/lib/Oracle.pm line 16.
Compilation failed in require at sqltest.pl line 4.
BEGIN failed--compilation aborted at sqltest.pl line 4.
can any body resolve this ...