PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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