in reply to Re: executing a OSP with CGI
in thread executing a OSP with CGI
You might consider initializing your $dbh thus:
Namaste
C.J.
The RaiseError argument will allow you to avoid the$dbh = DBI->connect($dsn, $db_user, $db_pass, { RaiseError => 1 } ) or croak "Couldn't connect to database";
on each of your database actions.or die $dbh->errstr
Namaste
C.J.
|
---|
In Section
Seekers of Perl Wisdom