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

Re: RFC: Databases made easy

by deMize (Monk)
on Mar 23, 2011 at 04:16 UTC ( #894932=note: print w/replies, xml ) Need Help??

in reply to RFC: Databases made easy

Great work. It also might be nice to note that you can set the dbh flags as a parameter during the connection. It's clear here, but when you are connecting to multiple databases and have a lot of db handles and statement handles flying around, consolidating the code makes things easier to read :)


Replies are listed 'Best First'.
Re^2: RFC: Databases made easy
by deMize (Monk) on Mar 23, 2011 at 21:09 UTC
    This brings up the other notion of using connect_cached() instead of connect(), which new users may be unfamiliar with.


      /me nods...

      One of the best things I ever did, was to sit down and actually read every bit of the documentation page on the CGI module, and then, every bit of the documentation about the drivers I was using.   This is deep material and there is a lot of it, and I read it through twice, resisting mightily the urge to “scan” (or simply, to let my eyes glaze over and Zzzzzz...).   Grab a triple-shot espresso and do the same.   (Fair warning:   it took several days.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://894932]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2018-05-28 08:58 GMT
Find Nodes?
    Voting Booth?