|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: DBI::connect_cached, Apache::DBI and Class::DBIby etcshadow (Priest) |
| on Nov 29, 2004 at 20:59 UTC ( [id://411081]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm not a Class::DBI guy, so I won't comment there. As for DBI and Apache::DBI, though, here's the scoop: Apache::DBI, if loaded, will override DBI's connect method (by way of defaulting the "connect_method" DBI connection attribute to 'Apache::DBI::connect'), and thus use Apache::DBI's connection caching. However, if you want to override this and ALWAYS use DBI's connection caching, then you can set $DBI::connect_via to "connect_cached".
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||