[Catalyst] Basic Tutorial & Version Conversion

Peter Edwards peter at dragonstaff.com
Wed Oct 11 17:28:03 CEST 2006


Looks like you've got white space before the "=head1".

POD commands like that need to start at the beginning of a line.

 

Regards, Peter

  _____  

From: catalyst-bounces at lists.rawmode.org
[mailto:catalyst-bounces at lists.rawmode.org] On Behalf Of Kevin Wong
Sent: 11 October 2006 16:07
To: catalyst at lists.rawmode.org
Subject: [Catalyst] Basic Tutorial & Version Conversion

 

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
<http://us.rd.yahoo.com/evt=42974/*http:/www.yahoo.com/preview>  out. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20061011/762606df/attachment.htm 


More information about the Catalyst mailing list