On Wed, Oct 22, 2003 at 02:28:52PM -0500, Kuang, Jeff - Raleigh, NC wrote:
> OS: NT4 SP6
> 
> $dbh = DBI->connect('$dns','$user_name','$password') or die "Didn't make
> it\n$DBI::errstr\n";

The single quotes cause the variable to be seen as literal.  So instead
using of the value of $dns to establish the connection, DBI is using the
string $dns.

Remove the single quotes for around the variables.

T

Reply via email to