Re: How do you use mod_perl for your web application?
"McCarrell, Jeff" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CA2E1CBF.3290%[email protected]> |
On 6/27/11 8:37 AM, "Fred Moyer" <[email protected]> wrote: >>DBIx::Class just does its own persistent connection and this is why it >>doesn't need Apache::DBI. > >Do you have any evidence for this claim? I've been using DBIx::Class >with Apache::DBI for several years and have never seen anything to >this effect. > While this may not be the last word on this subject of DBIx::Class Db conn caching, a cursory glance at the documentation shows: (http://search.cpan.org/~frew/DBIx-Class-0.08192/lib/DBIx/Class/Manual/Intr o.pod#Connecting) Note that DBIx::Class::Schema does not cache connections for you. If you use multiple connections, you need to do this manually.