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

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to