I'm sure this has been answered before, but I wasn't able to find anything in the 
archives. (Is there a search interface available?)

I have a multithreaded program. My problem is this: if I create a connection in the 
parent, then create a thread which creates a new dbh, I get an error message about the 
handle not being owned by the (current) child thread. Since I was creating a new 
connection in the child, I thought I would be creating a new handle as well, but this 
does not seem to be the case.

What is the proper way to work with DBI in this multithreaded environment?


Thanks,
Trey

Reply via email to