Hello there!
Is this correct to pass DB handle ($dbh) as subroutine parameter? I
don't want to make DB connection everytime when I need to get some data
from DB. But if I connected once I'd like to pass one db handler.
TIA.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
On Sat, 15 Jan 2005, Nicolay A. Vasiliev wrote:
> Is this correct to pass DB handle ($dbh) as subroutine parameter? I
> don't want to make DB connection everytime when I need to get some
> data from DB. But if I connected once I'd like to pass one db handler.
Of course you can, and should, do
Thank you, Chris!
Chris Devers wrote:
Of course you can, and should, do things this way.
...
Etc., where the subroutines are defined later, and the database and
statement handles get declared once and then passed around as needed.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co