I have a lot of code using those methods. I did not realize they were not
standard parts of DBI. What is the alternative mechanism for these
methods?
Bob Doucette
From: Tim Bunce <[EMAIL PROTECTED]>
03/29/2004 06:21 AM
To: Dean Arnold <[EMAIL PROTECTED]>
cc: DBI-users <[EMAIL PROTECTED]>
Subject: Re: DBI->state()
On Sun, Mar 28, 2004 at 01:56:05PM -0800, Dean Arnold wrote:
> Have the DBI->err(), DBI->errstr(), DBI->state() been
> deprecated ? I see the err() and errstr() are still
> in the DBI.pm code, but no trace of state() (as far
> back as 1.38)
>
> FYI: I'm trying to check state info on a connection
> failure, so I don't have a "handle" to call state() on.
>
> Or is the preferred solution to read the $DBI::state
> variable directly ?
Yes. DBI->err() and DBI->errstr() were never in the spec
and they'll be removed in DBI v2.
Tim.
- DBI->state() Dean Arnold
- Re: DBI->state() Tim Bunce
- Re: DBI->state() Tim Bunce
- Re: DBI->state() Dean Arnold
- Re: DBI->state() Tim Bunce
- Re: DBI->state() Robert_Doucette
- Re: DBI->state() Tim Bunce
- Re: DBI->state() Lincoln A. Baxter
- RE: DBI->state() CAMPBELL, BRIAN D (BRIAN)
- Re: DBI->state() Meyer, Rob
- Re: DBI->state() Henri Asseily
- RE: DBI->state() Capacio, Paula J
