On Mon, Dec 08, 2003 at 05:50:29PM -0500, Peter Chen wrote:
> I have installed DBI 1.39 on a Win 2000 with Perl 5.6.1 and DBD::Oracle
> 1.12.
>
> When I tried to connect to an Oracle database on UNIX with the following
> code:
> my $dbh = DBI->connect('DBI:Oracle:XYZDB', 'username', 'password');
>
> I got an error message from DBI.pm line 584: Use of unintialized value
> in concatenation (.) or string at C:/programs/perl/site/lib/DBI.pm line
> 584.
>
> Any thing wrong with my installation ? I installed DBI and DBD::Oracle
> via ppm. I would appreciate any help. Thanks in advance.
According to my source line 584 is
$user = '' if !defined $user;
and I doubt that would generate that warning.
Please post the output of
perl -MDBI -e "DBI->installed_versions"
and
perl -MDBI -e "DBI->connect('DBI:Oracle:XYZDB', 'username', 'password')"
Tim.