[Dbix-class] DBIx::Class::UUIDColumns Bretherin

Matt S Trout dbix-class at trout.me.uk
Tue Nov 22 18:05:20 CET 2005


On Mon, Nov 21, 2005 at 04:58:26PM -0500, Christopher H. Laco wrote:
> Would you be interested in some patches for different
> DBIx::Class::UUIDColumns classes, or just to tweak UUIDColumn?
> 
> I'm toying with DBIx::Class again in Handel, and I use uuid as primary
> keys everywhere. Using DBIx::Class::UUIDColumns would make more sense,
> but it's based on Data::UUID which isn't cross platform (well yes,
> there's win32 patch, but it's an unknown at this point; the same reason
> I didn't use Class::DBI::UUID). When Handel loads, I currently do some
> magic to find the best thing:

Shiny magic. I'd be happy to take a patch that provides that magic, on
the condition that it also provides something like a 'uuid_handler'
method to set the specific one you want in case the DWIM code doesn't.

Magic is good. Magic you can't override can be painful.

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Dbix-class mailing list