sybperl-l Archive
Up Prev Next
From: David Hajoglou <hojo at greenland dot i-tel dot com>
Subject: passing $dbh around
Date: Jun 10 1999 8:59PM
To all knowing list,
We have decided against persistant database handles (after all of my toil
with them). So, I have a question:
What is the best way to pass a database handle around to different
modules? Or reference the same one across functions? i.e.
script
...
$var = &itel::itel_lib::somefunc($dbh);
...
is there a way to make a pointer to the original handle? If this is
documented somewhere then just point me there.
Thank You
David Hajoglou
|