Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: DBI, $dbh, and subroutines

by Illuminatus (Curate)
on Jul 12, 2009 at 19:24 UTC ( #779394=note: print w/ replies, xml ) Need Help??

in reply to Re: DBI, $dbh, and subroutines
in thread DBI, $dbh, and subroutines

GrandFather says it very well. The only other reason I would add is re-use. At some point, the 'only' db handle that you use will most likely turn into more than one. At that point, you will probably want to use many of the same routines you already have. This will obviously be easier when the handle is passed into those routines.


Comment on Re^2: DBI, $dbh, and subroutines

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-11-28 09: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 (740 votes), past polls