On Tue, 1 Oct 2002 14:41:53 -0700 Henri Asseily <[EMAIL PROTECTED]> wrote:

> I have an $sth being passed to a function. I want to get access to its 
> $dbh, from within that function, but the $dbh isn't passed as a 
> parameter.

>From DBI-1.30/Changes:

=head2 Changes in DBI 1.16,    30th May 2001

  . . .
  Fixed $dbh->{Driver} & $sth->{Database} to return 'outer' handles.

Driver is documented in DBI.pm, but Database is not.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to