Re: retrieve db handle from st handle?



I read the docs left and right, up and down but did not see that. Thank you for pointing it out.

----- Original Message ----- From: "Douglas Wilson" <douglasg.wilson@xxxxxxxxx>
To: "Dondi Stroma" <dstroma@xxxxxxxxxxx>
Cc: <dbi-users@xxxxxxxx>
Sent: Tuesday, July 15, 2008 2:19 AM
Subject: 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)

.