$dbh = DBI->connect('$dsn,$user,$pw');Get rid of the single quotes because they do not interpolate variable values. You are passing a single literal string to connect, not 3 separate values. Try this:
$dbh = DBI->connect($dsn,$user,$pw);
In reply to Re: DBI Module Question
by toolic
in thread DBI Module Question
by Irishboy24
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |