[CDBI] prepared statements and InactiveDestroy

Aaron Ross aaron at aaronelliotross.com
Mon Nov 7 10:59:58 GMT 2005


Hi,

> I'm writing a Class::DBI app which fork()'s where both parent and  child 
> need to keep the DBI handle.  Hence, I'm using  $dbh-> {InactiveDestroy} 

You can't keep a DB handle open across a fork. Reconnect in the child 
using the same parameters.

Aaron




More information about the ClassDBI mailing list