DBI->state()

From: Dean Arnold (darnold_at_presicient.com)
Date: 03/28/04


To: "DBI-users" <dbi-users@perl.org>
Date: Sun, 28 Mar 2004 13:56:05 -0800

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 ?

TIA,
Dean Arnold
Presicient Corp.
www.presicient.com



Relevant Pages

  • Re: DBI->state()
    ... I see the err() and errstr() are still ... but no trace of state(as far ... Tim. ...
    (perl.dbi.users)
  • Re: Documentation / Error checking
    ... >> just a few special cases such as err and errstr, obviously, and FETCH ... if you're going to die() I'd just set RaiseError and forget about it. ...
    (perl.dbi.users)
  • Re: How to call DBD::Oracles dbms_output_get from within a DBIx
    ... Martin Evans wrote: ... In the following sequence the first statement handle loses errstr and err values: ... # DBD::Oracle from a prepare_cached call and execute ...
    (perl.dbi.users)
  • [PATCH 2/18] cleanups and bug fix in do_loopback()
    ... My fault - as far I could've trace it, ... old thinko made back in 2001. ... return err; ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: DBI->state()
    ... there seems to be some confusion here. ... > Ultimately the only access to a handle's err, errstr, and state are ... > on the last handle the DBI used. ...
    (perl.dbi.users)