Re: "connect" not connecting

Bruce Johnson <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
On Jun 28, 2013, at 10:44 AM, [email protected] wrote:

> DBI->trace(…) might help.
>  
> You should also review the docs on the use of errstr.  You should be using $DBI::errstr, not DBI->errstr to the best of my knowledge and according to the docs.
>  

Correct, you need to use either $DBI::errstr or $dbh->errstr. And RaiseError=>1 should spit out the error on your stdout device, anyway.

Dan, is this related to your ODBC issues earlier this week? If you messed around with or updated your ODBC driver you *might* need to recompile the relevant DBD package and/or check that all the various files and such are where they're expected to be.

-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.