On 1/4/06, Sean Davis <[EMAIL PROTECTED]> wrote: > The resulting modules contain references to some modules that do not exist, > it seems. For example, the Dog::DB::Dog module looks like: > > package Dog::DB::Dog; > use Dog::DB::DB::Object::Base1; > [...] > > And Dog::DB::DB::Object::Base1 isn't actually created and shouldn't be, I > suppose?
Whoops! That "Base1" class is an auto-created common base class, and the module for it actually should be auto-created for you. I'll fix it in the next release. As a work-around, if you make your own common base class and pass its class name as the base_class arg, make_modules() won't try to make one for you. Your base class should basically just override init_db() package My::DB::Base; use strict; use My::DB; use Rose::DB::Object; our @ISA = qw(Rose::DB::Object); sub init_db { My::DB->new } 1; That's basically what the "Base1" class will look like once I fix make_modules() to generate it. -John ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object