Re: _concat_hash_sorted()

Darren Duncan <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
David E. Wheeler wrote:
> 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). 
> 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?

No thoughts about exposing the interface.

But from what you've described in your blog to be the state of affairs, I think 
that having a distinct DBIx::Connector module is a good idea, versus embedding 
that functionality in a larger DBI-using module.

I've never been in a situation to use cached connections before, but this module 
looks like it could be a good default practice to use when using DBI, if it 
seems to make connection caching work more correctly.  Unless there might be 
some agreement for DBI itself to use those semantics (but it hadn't already).

-- Darren Duncan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.