I wrote this simple script ... n its baffling me ... i thght this should work ... but its not working .... am i doing something wrong here??
 
DB-name : IN02 (its an oracle DB)
DB schema: GS
password: GS
 
****************************************
use strict;
use DBI;
 
my $dbh = DBI->connect( 'dbi:Oracle:IN02', 'GS', 'GS', { RaiseError => 1}) || die "Database connection not made: $DBI::errstr\n";
 
 $dbh->disconnect;
***************************************
 
Foll. is the error reported ....
D:\Chiranjib\v7_trial>perl v7_trial.pl
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at (eval 4) lin
 3.
Perhaps the DBD::Oracle perl module hasn't been fully installed,
or perhaps the capitalisation of 'Oracle' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
 at v7_trial.pl line 8
 
Can somebody advise???
 
Regards,
Ukhas


Stay in the know. Pulse on the new Yahoo.com. Check it out.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to