On 12/30/2007 02:54 PM, Aristotle Pagaltzis wrote:
> [F'up-to dbix-class]
> 
> * Matt S Trout <[EMAIL PROTECTED]> [2007-12-24 19:30]:
>> You might want to see about ripping out the C::M::DBI
>> connection management and using a DBIx::Class::Storage::DBI
>> object instead - the Model::DBI code originates from a copy of
>> the DBIx::Class code but I'm unaware of whether bugfixes and
>> refactorings have been propagated to it.
> 
> Might it be worthwhile to rip the code out of both and put it in
> a separate DBIx::EnsureConnected or something like that, and then
> make sure that such objects can be used in place of plain DBI
> handles, so that anyone who needs this functionality can use that
> instead of maintaining the $N'th copy of the code?
> 

How is this different than DBI's own connect_cached() method?

http://search.cpan.org/~timb/DBI-1.601/DBI.pm#connect_cached


-- 
Peter Karman  .  [EMAIL PROTECTED]  .  http://peknet.com/


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to