On 7/30/07, Ken Perl <[EMAIL PROTECTED]> wrote:
> I didn't run it under ModPerl::Registry

Did you run it under some other mod_perl module, like
ModPerl::PerlRun?  If it's a CGI script, and you aren't running it
through something like this, then you aren't running it through
mod_perl and you won't be able to use persistent connections.

> Could I just run use the previous connections via DBI->connect_cache
> instead of the Apache::DBI in one single cgi script

Not if you aren't running it through mod_perl.  CGI scripts exit after
each request, so they can't do persistent connections.

- Perrin

Reply via email to