|
|
| "be consistent" | |
| PerlMonks |
Re: Is DBIx::Class borked or is it me?by moritz (Cardinal) |
| on Jan 03, 2013 at 16:08 UTC ( #1011481=note: print w/ replies, xml ) | Need Help?? |
|
Since your schema class is Traveller::DB::Schema, a $schema->resulset('sector') looks for a class named Traveller::DB::Schema::Result::sector. In your case I'd put the schema into Travel::DB, and the result in Travel::DB::Result::Sector, and then call $schema->resultset('Sector').
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||