Matt S Trout wrote: >>(If you're defining your table classes in the same file >>as your schema class, you don't want to call load_classes, call >>register_class instead). >> >> > >yeah. Defining multiple classes in one file is Bad Perl Style and often >requires some gymnastics to make work - relationship inference will be iffy as >well, you'll probably have to specify join conditions for everything. > > Point taken -- I just needed to play with some code quickly, while stumbling through the docs.
_______________________________________________ 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]/
