Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

RESOLVED - Keep a Database Connection Active and Reuse it Between Script Executions?

by perldigious (Priest)
on Feb 03, 2020 at 16:08 UTC ( [id://11112321]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dsn = "dbi:Oracle:DWAPRD";
    my @connection = ($dsn, $user, $pass);
    my $dbh = DBI->connect_cached(@connection) or die "Couldn't connect to
    + database: " . DBI->errstr;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11112321]
Approved by marto
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found