in reply to Class::DBI::Loader error: Can't locate object method "set_db"
My guess is that you want namespace => 'MyCompany::MyProduct' instead of namespace => 'MyCompany::MyProduct::Database', at least if you plan on accessing the classes/tables later as MyCompany::MyProduct::MyTable->new(...). Other than that, I can't find anything that directly strikes me as odd, so maybe some more surrounding code would be helpfull.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Class::DBI::Loader error: Can't locate object method "set_db"
by kudra (Vicar) on Apr 12, 2005 at 10:49 UTC | |
by Corion (Patriarch) on Apr 12, 2005 at 11:15 UTC | |
by kudra (Vicar) on Apr 12, 2005 at 11:34 UTC |
In Section
Seekers of Perl Wisdom