Re: PrintError won't turn off
- From: sam@xxxxxxxxxx (Sam Tregar)
- Date: Mon, 18 Sep 2006 22:30:49 -0400 (EDT)
On Mon, 18 Sep 2006, Tim Bunce wrote:
Yes, and the same applies to AutoCommit. Whether it's a good thing or
not is debatable but it's been that way forever. The 'workaround' is
to explicitly state the attributes you want.
Hmmm, interesting. What would you think about making PrintError
default to 0 when RaiseError is on? My reasoning is that if the error
is getting croak()ed then there's no need to warn() it too. The
warn() comes without a stack-trace and can be very difficult to track
down when the croak() is being intentionally trapped (as was the case
in DBIx::Timeout). When the croak() isn't being trapped it's just
duplicate information on STDERR.
-sam
.
- Follow-Ups:
- Re: PrintError won't turn off
- From: Tim Bunce
- Re: PrintError won't turn off
- References:
- PrintError won't turn off
- From: Sam Tregar
- Re: PrintError won't turn off
- From: Sam Tregar
- Re: PrintError won't turn off
- From: Sam Tregar
- Re: PrintError won't turn off
- From: Tim Bunce
- PrintError won't turn off
- Prev by Date: Re: PrintError won't turn off
- Next by Date: Re: PrintError won't turn off
- Previous by thread: Re: PrintError won't turn off
- Next by thread: Re: PrintError won't turn off
- Index(es):