On Thu, Nov 13, 2014 at 2:48 PM, Vincent Veyron <vv.li...@wanadoo.fr> wrote:

> But then, what is the point of using connect_cached?


You can use it outside of mod_perl. You can also use instead of Apache::DBI
if you don't want the connection to be more explicit (instead of magically
overriding the connect() call).

Keep in mind, neither of these work unless you call
DBI->connect()/connect_cached() at the beginning of every request. You
can't just keep a DBI handle stashed somewhere and expect that to work.

- Perrin

Reply via email to