[Dbix-class] How to change base class for autogenerated Schema/* files?

Alex Povolotsky tarkhil at over.ru
Mon Jan 18 12:53:29 GMT 2010


On 01/18/10 13:31, Peter Rabbitson wrote:
> Alex Povolotsky wrote:
>    
>> Hello!
>>
>> I'm using Catalyst::Model::DBIC::Schema::Loader and autogenerate
>> Schema/*.pm files.
>>
>> I'd like to add some common functionality to some of them, and I'd
>> greatly prefer adding it in one place to copypasting code.
>>
>>      
> Maybe this?
> http://search.cpan.org/~rkitover/DBIx-Class-Schema-Loader-0.04999_14/lib/DBIx/Class/Schema/Loader/Base.pm#result_base_class
>
>    
I've ended up in just using loadable component; however, I'll check this 
idea.

Alex.





More information about the DBIx-Class mailing list