Access to Apache::DBI from DBI

Posted by hpavc on Stack Overflow See other posts from Stack Overflow or by hpavc
Published on 2010-06-14T22:59:17Z Indexed on 2010/06/14 23:02 UTC
Read the original article Hit count: 369

Filed under:
|
|

Is it possible to access a Apache::DBI database handle from a perl script (that isn't running under mod_perl).

What I am looking for is database pooling for my perl scripts, I have a fair number of database sources (oracle/mysql) and a growing number of scripts.

Some ideas like SQLRelay, using Oracle10XE with database links and pooling, and or convert all scripts to SOAP calls, etc are becoming more and more viable. But if there was a mechanism for reusing Apache::DBI I could fight this a bit.

I have no non-perl requirements, so we don't have a php/jdbc implementation or similar to deal with.

Thanks

© Stack Overflow or respective owner

Related posts about perl

Related posts about connection-pooling