I already tried both. The variables, $dns, $user_name, and $password, are just to show you what I put in my code. They are not actually used. Thanks anyway.
-----Original Message----- From: Hardy Merrill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 3:58 PM To: Kuang, Jeff - Raleigh, NC Cc: [EMAIL PROTECTED] Subject: Re: Please Help on dbi:Oracle: Failure Kuang, Jeff - Raleigh, NC [EMAIL PROTECTED] wrote: > OS: NT4 SP6 > > Perl v5.6.1 with ActiveState build 631 > > Oracle 9.2.0.1 > > > > Installed modules: most current DBI and DBD-Oracle from activestate.com > > > > Problem: > > > > When I ran the following codes, > > > > $dbh = DBI->connect('$dns','$user_name','$password') or die "Didn't make > it\n$DBI::errstr\n"; Try changing your single quotes to double quotes, like: $dbh = DBI->connect("$dns","$user_name","$password") or die "Didn't make it\n$DBI::errstr\n"; I think that might do the trick for you. -- Hardy Merrill Red Hat, Inc.
