On Wed, 2003-08-13 at 16:56, Vivek Khera wrote:
> Actually, there is a good reason not to use Apache::DBI sometimes.
> For me, I have common modules for my command line apps and the web app
> to manipulate my overall system.  I had to roll my own cached file
> handle because Apache::DBI won't even load outside of mod_perl.

Command-line apps typically don't need persistent connections.  If they
do, I would make them call connect_cached when $ENV{'MOD_PERL'} is
undefined.

- Perrin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to