[Dbix-class] Combining link tables

Jules Bean jules at jellybean.co.uk
Tue Oct 31 11:52:30 GMT 2006


Will Hawes wrote:
>
> 1) Is this a really bad idea?

Yes.

>
> 2) If not, can it be implemented with relationships, or would I need 
> to write custom accessors or use a custom resultset class to get the 
> desired behaviour?


You'd want to patch something together with inheritance and override a 
few methods, I suspect. Patch 'new' to bless into the right subclass, 
something like that.

Jules



More information about the DBIx-Class mailing list