[Catalyst] Newbie needs help with tutorial

Kieren Diment diment at gmail.com
Fri Nov 10 10:23:18 GMT 2006


On 03/11/06, John Napiorkowski <jjn1056 at yahoo.com> wrote:
>
>
> You'll find that a lot of dispatched methods in
> Catalyst are wrapped in an eval so that it can catch
> errors for you.  'eval 99' is referring to spot in the
> evaled code.
>
> I've found that it can be a bit hard to debug what's
> going wrong when the DBIx schema classes have errors.
> Try checking that all the required modules are loaded
> and so forth.  Use 'perl -c ...' to to a sanity check
> on the syntax.  Try paring down the components you are
> loading to see if you can ID the missing or troubled
> part.
>
> Start with the DBIx schemas you created, looks like
> that is the core of the issue.



This is also what test driven development is for :)

Have a look at Catalyst::Manual::Tutorial::Testing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jules.scsys.co.uk/pipermail/catalyst/attachments/20061110/45550=
60b/attachment.htm


More information about the Catalyst mailing list