[Dbix-class] CD Collection Sample DB

Steven Mackenzie dbix at aptile.co.uk
Tue Jun 27 18:54:50 CEST 2006


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.



More information about the Dbix-class mailing list