Re: Intercepting DBD:ODBC errors

Garry Williams <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Organization Zvolve Systems, Inc.
Message-ID <1113237951.19830.4.camel@tfr>
On Mon, 2005-04-11 at 16:57 +0100, zzapper wrote:
> Certain types of mysql error seem to directly output their error message and thus break break my
> scripts before the error can be intercepted at the perl level and dealt with gracefully.
> 
> Ideas?

I guess you mean the DBI module(?).  See the DBI(3) manual page,
PrintError in the ATTRIBUTES COMMON TO ALL HANDLES section:

    By default, "DBI->connect" sets "PrintError" "on".

-- 
Garry Williams, +1 678 565-4579


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
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.