in reply to Can't call method "do" - DBI Troubles
andmy $dbh = DBI->connect($db, $username, $pass) || die $DBI->errstr();
to catch any underlying problems with the connection process or underlying SQL execution.my $dbh->do($sql) || die $dbh->errstr();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Can't call method "do" - DBI Troubles
by Hero Zzyzzx (Curate) on Feb 03, 2003 at 17:58 UTC |