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.

Reply via email to