On Thu, May 07, 2009 at 10:03:41PM -0700, Bill Moseley wrote: > Hi Tim, > > On Fri, May 08, 2009 at 12:59:03AM +0100, Tim Bunce wrote: > > > > It might be more efficient/effective to use callbacks to enable tracing > > in just the calls you're interested in. Callbacks are (still) > > undocumented, but the test file is pretty clear: > > http://cpansearch.perl.org/src/TIMB/DBI-1.608/t/70callbacks.t > > I was looking at the callbacks a few days ago. I wasn't clear what > all was available, but more importantly I couldn't see if it was > possible to also get the execute parameters. I assume it's not > possible with the callbacks. Is that correct?
The callbacks can not only see the params, they can change them. There are examples in the 70callbacks.t file. Tim.
