Re: ParamTypes attribute ?

2005-05-12 Thread Dean Arnold
Tim Bunce wrote: Okay. You send, I'll apply. Thanks Dean! Tim. Here 'tis. (diff'd against DBI 1.48) - Dean --- DBI.pm Thu May 12 12:40:53 2005 +++ ../DBI-1.48/DBI.pm Mon Mar 14 07:45:38 2005 @@ -6055,44 +6055,6 @@ The C attribute was added in DBI 1.28. -=item C (hash ref, read-only) - -Ret

Re: ParamTypes attribute ?

2005-05-12 Thread Dean Arnold
Tim wrote: [ NOTE TO TIM: Your note in the roadmap shows both the scalar and hashref form of type info...in the interest of simplicity, I'd prefer a single form (hashrefs); do you have a strong opinion one way or the other ? ] The goal is to keep bind_param cheap. But drivers can defer the cost of

Re: ParamTypes attribute ?

2005-05-12 Thread Tim
On Thu, May 12, 2005 at 08:34:14AM -0700, Dean Arnold wrote: > > =item C (hash ref, read-only) > > Returns a reference to a hash containing the type information > currently bound to placeholders. The keys of the hash are the > 'names' of the placeholders: either integers starting at 1, or, > fo

Re: ParamTypes attribute ?

2005-05-12 Thread Dean Arnold
Tim wrote: Could you send me a doc patch based on my emails in that thread? Tim. First draft derived mainly from the ParamValues pod (see embedded [NOTES TO TIM]): =item C (hash ref, read-only) Returns a reference to a hash containing the type information currently bound to placeholders. The key

Re: ParamTypes attribute ?

2005-05-12 Thread Tim
On Wed, May 11, 2005 at 05:04:35PM -0700, Dean Arnold wrote: > Tim wrote: > >On Wed, May 11, 2005 at 09:36:26AM -0700, Dean Arnold wrote: > > > >>I may have missed this in the archives, but google > >>didn't shed any light, so here goes... > >> > >>DBI currently defines a readonly ParamValues $sth