On 7/24/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
> Apache::DBI is an awful hack and should be avoided where possible.

Kind of an exaggeration.  Apache::DBI is a useful module for porting
existing CGI scripts to mod_perl.  If you aren't porting CGI scripts
to mod_perl, you can use other tools like DBI->connect_cached instead.
 The main differences are that Apache::DBI disables disconnect(), to
allow for porting CGI code that disconnects after every request, and
Apache::DBI does a rollback at the end of every request to avoid
accidental commits of bad data when code dies during a request.

- Perrin

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to