in reply to threading problem with Class::DBI

You might want to look at DBIx::Threaded