Oracle-Perl Connection Problem

[email protected] (Sandeep Warikoo) Tue, 04 Jan 2005 14:17:08 +0530
Newsgroups perl.dbi.oracle-oci
Message-ID <[email protected]>
Hi,

I'm trying the access oracle through perl, but am getting the error 
"ERROR OCIEnvInit".

My perl script is:

-------------------------------------------------------------------------
use DBI;

$ENV{ORACLE_HOME}='/data/oracle/product/9.2.0';

my $dbh = DBI->connect("dbi:Oracle:d7_bilab03","hpbi_owner","hpbi") or 
die "couldn't connect to database:    $DBI::errstr\n";

--------------------------------------------------------------------------

Does anyone know how to solve this?

Regards,
Sandeep W.