Howdy Tim et al.,
I've just released [DBIx::Connector](http://search.cpan.org/perldoc?DBIx::Connector
) to the CPAN. It does connection caching and transaction management,
borrowing pages from `connect_cached()`, Apache::DBI, and DBIx::Class,
but usable in any of these environments. The transaction management is
similar to that in DBIx::Class, but also includes savepoint support
(hence my earlier post). Blog entry [here](http://www.justatheory.com/computers/programming/perl/modules/dbix-connector.html
).
Anyway, I'm caching the connections under a key I'm constructing just
like `connect_cached()` does:
my $key = do {
no warnings 'uninitialized';
# XXX Change in unlikely event the DBI changes this
function.
join "!\001", @_[0..2], DBI::_concat_hash_sorted(
$_[3], "=\001", ",\001", 0, 0
)
};
I thought this the simplest thing to do, but I'm wondering, Tim, if it
might be possible to expose this interface? It seems like it'd be
generally useful. Thoughts?
Thanks,
David