On 9/26/07 6:28 PM, Jonathan Swartz wrote: > I'm curious to know what the motivation was for Rose::DB to handle > ref counting in the first place. Is/was this DBI disconnect-on- > destroy behavior not always reliable?
Rose::DB's involvement in $dbh destruction is so it can run the pre_disconnect_sql statements, if any. Overriding DESTROY in a subclass with an empty method body, as Graham suggested, seems like the simplest solution to me. -John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object