in reply to
Using a single DBI handle in a script and a module
DBI has built-in support for this. Look at DBI->connect_cached().
Comment on
Re: Using a single DBI handle in a script and a module
In Section
Seekers of Perl Wisdom