in reply to Re: What's in a DBI statement handle?
in thread What's in a DBI statement handle?

Unfortunately, this won't work -- you'll get the Data::Dumper equivalent of what rinceWind showed. Since the statement handle is a tied hash and the DBI is ultra-concerned with efficiency and speed, the properties don't actually get filled until you call them. Best bet is to read the docs.

Chris
M-x auto-bs-mode

  • Comment on Re: Re: What's in a DBI statement handle?

Replies are listed 'Best First'.
Re: Re: Re: What's in a DBI statement handle?
by demerphq (Chancellor) on May 17, 2002 at 17:21 UTC
    So DBI hides the keys it contains?

    Yves / DeMerphq
    ---
    Writing a good benchmark isnt as easy as it might look.

      Right -- more specifically: as a tied hash it does not implement the FIRSTKEY and NEXTKEY methods to list the attributes supported. There's probably a very good reason for this -- many implementation behaviors in the DBI may seem weird at first but on further inspection make a lot of sense.

      Chris
      M-x auto-bs-mode