Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: DBI::connect_cached, Apache::DBI and Class::DBI

by etcshadow (Priest)
on Nov 30, 2004 at 01:59 UTC ( [id://411081]=note: print w/replies, xml ) Need Help??


in reply to DBI::connect_cached, Apache::DBI and Class::DBI

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".
------------ :Wq Not an editor command: Wq

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411081]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found