[Catalyst] Couldn't instantiate component "AddressBook::Model::AddressDB"

Matt S Trout dbix-class at trout.me.uk
Wed Apr 22 14:02:20 GMT 2009


On Wed, Apr 22, 2009 at 01:15:18PM +0200, Kiffin Gish wrote:
> Actually both People.pm and Address.pp were generated and can be found
> in the directory: lib/AddressBook/Schema/AddressDB/Result/.
> 
> I thinks that's the problem.

Right, the DBIx::Class helper now uses load_namespaces style by default,
because that's the recommended standard these days.

The book uses the older load_classes style. If you just remember to mentally
include ::Result:: when modifying those files you should be fine.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list