|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Verbosity of DBD::Sybase
Date: Nov 16 1999 3:06PM
Hrvoje Niksic writes:
> I noticed that DBD::Sybase is verbose when an error is encountered,
> which results in repeating error messages with correctly written
> code. Let's take an example from the _Short guide to DBI_, with
> cosmetic adaptations to Sybase:
>
> So, is there a way to turn off printing of error messages by default,
> so that my routines can pick them up and print them the way I want it?
>
see the syb_err_handler database handle attribute. (which won't help
you for the connect() error, unfortunately.)
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|