If Apache::DBI doesn't work, first make sure that you have it installed. Then make sure that you configured mod_perl with either:
Turn on debug mode using the $Apache::DBI::DEBUG variable.
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).