Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 :)


Comment on Re: RFC: Databases made easy
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-11-30 12:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls