Sounds like you need http://sqlrelay.sourceforge.net/sqlrelay.
It interfaces nicely with DBI and I used SQLRelay a lot to reduce the connection open/close fire when I had to deal with hundreds nagios triggered db monitoring scripts.
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
Comment on Re: DB Connections across scripts from a module
What driver did you use with SQLRelay and DBI? DBD::SQLRelay was removed from CPAN.
I got the backpan version but it needs some work (not a lot) to be useable.