I'm just starting with Catalyst (but experienced in MVC frameworks) and I got J. Rockway's book. I'm working through the 1st DB example (pages 27-30), where we use DBIC to connect to a simple database. When I start the development server, I get the following error - " Couldn't instantiate component "MyApp::Model::TestDatabase", "Can't call method "require" without a package or object reference at /usr/local/share/perl/5.8.8/Catalyst/Model/DBIC/Schema.pm line 271." at script/myapp_server.pl line 53 Compilation failed in require at script/myapp_server.pl line 53. " I've checked that the test database exists and that it has the right path (/tmp/database), I've also made sure that the database controller does not have any syntax errors. Also I cut and pasted the html and I'm sure that's formatted correctly after checking in a browser. I am newbie at Catalyst (and haven't programmed in Perl in about 2 years) so I'm sure I'm missing something. Suggestions? |
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/