Re: retrieve db handle from st handle?



On Mon, Jul 14, 2008 at 8:48 PM, Dondi Stroma <dstroma@xxxxxxxxxxx> wrote:

Is it possible to retrieve the associated parent db handle from a statement
handle? I am subclassing DBI and am overriding a few statement methods, and
in those statement methods I would like to store information in the db
handle (as shown in the docs with $dbh->{private_my_module_name_*}).

See the docs:
http://search.cpan.org/~timb/DBI-1.605/DBI.pm#Database_(dbh,_read-only)
.