Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: DBI vs Apache::DBI

by DaisyLou (Sexton)
on Aug 23, 2019 at 23:15 UTC ( [id://11104921]=note: print w/replies, xml ) Need Help??


in reply to Re: DBI vs Apache::DBI
in thread DBI vs Apache::DBI

Yes, it's running under mod-perl. Should I change it to DBI or DBIx::Connector as the original responder suggested?

Replies are listed 'Best First'.
Re^3: DBI vs Apache::DBI
by jcb (Parson) on Aug 23, 2019 at 23:37 UTC

    As I understand, Apache:DBI is supposed to be loaded in the mod_perl configuration, not in the script. If Apache::DBI is loaded, use DBI; actually gives you Apache::DBI and its extra feature of connection caching. In all cases, the script should "use DBI;".

    If you want to use DBIx::Connector, you will need to read the documentation and possibly change more than just a use line in your script. I have not used it and I do not know about it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found