Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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??


in reply to Is DBIx::Class borked or is it me?

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').

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-09-26 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (478 votes). Check out past polls.