[Catalyst] Basic Tutorial & Version Conversion

Kevin Wong kevin_wongg at yahoo.com
Wed Oct 11 17:06:55 CEST 2006


Hi,
 
 I read through the tutorial and starting to create an test app, following instructions in the first lesson: Catalyst::Manual::Tutorial::CatalystBasics. Everything went well untill the last step, launch the app. I got this error, and don't understand. So I hope someone would teach me on this:
 
 -----
 Couldn't instantiate component "MyApp::Model::MyAppDB", "Cannot load schema class 'MyAppDB': syntax error at /home/kevin/MyApp/script//../lib/MyAppDB.pm line 3, near "="
 Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/Catalyst/Model/DBIC/Schema.pm line 272.
  at script/myapp_server.pl line 53" at script/myapp_server.pl line 53
 Compilation failed in require at script/myapp_server.pl line 53.
 --------
 
 and this is my MyAppDB.pm
 ---
     package MyAppDB;
     
     =head1 NAME 
     
     MyAppDB - DBIC Schema Class
     
     =cut
     
     use base qw/DBIx::Class::Schema/;
 .........
 
 One more question that I would like to ask is: I have to take over a Catalyst project developed with Catalyst 5.33  using scaffolding technique. Is there anyway that I can use the old app on a new server with new version of Catalyst? Or anyway that I could convert the old app? I've checked the achive list, there are very helpful hints and guidelines, but could not find a confirmation and a specific guide on how to. 
 Thank you for your help, and sorry if I ask the same old question.
 
 Kevin
 
 
 		
---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20061011/f13e5a48/attachment.htm 


More information about the Catalyst mailing list