I am trying to figure out the most efficient method of passing around a live dbh when calling a subs.
I have embedded a dbh into an object: $obj->{dbh} and would like to pass to
it to other functions for reuse.
Should I call: foo( $obj->{dbh} );
or: foo( \$obj->{dbh} );
or something else?
Does the first method copy the dbh and create a new connection?
Thank you. -Alec
Alec Brecher
E Research Resources
office 802 253-8908
