Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Simple DBI handle caching.

by kyle (Abbot)
on May 11, 2011 at 14:23 UTC ( #904168=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub dbh {
        my ($u,$p) = ('user',':)');
    ...
    
        return $dbh;
    }
    
  2. or download this
    sub dbh {
        state $dbh;
    ...
        }
        return $dbh;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://904168]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2018-04-24 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?