[Catalyst] Tutorial - CatalystBasics
jjn1056 at yahoo.com
Tue Sep 5 05:04:02 CEST 2006
I've used the following to check and update Catalyst
related stuff on my box:
perl -MCPAN -e
This brings me up to the newest versions since I
installed. But your results might vary.
I usually see the "Can't call method "process" error
when I accidentally try to forward to something that
doesn't exist. process in the default method for when
you forward to views and models. So my understanding
is if you do a $c->forward($c->view('view')) that is
like an implicit
$c->forward($c->view('view'))->process but you can
forward to other methods in a component if you name
So check your forwards and make sure there are no
spelling errors and that that components exist. Take
extra care to review what you put in the package name,
misspellings there have gotten me more than once.
--- hkclark at gmail.com wrote:
> On 9/4/06, Anthony Gardner
> <cyclewood_ltd at yahoo.co.uk> wrote:
> > Have just started going through the tutorial but
> have come across a problem.
> > I looked back through the archives for a few
> months but found no answers to
> > these.
> > When I try to run it, I get
> > Caught exception in MyApp::View::TT->process
> "Can't call method "process"
> > on an undefined value at
> > /usr/local/share/perl/5.8.7/Catalyst/View/TT.pm
> line 315."
> Hi Anthony,
> It sounds like something is awry with your
> installation of Catalyst
> vs. the code you are building. When I look at line
> 315 on one of my
> 5.7001 boxes, it's a comment vs. executable code.
> Sorry nothing else is ringing a bell as to where the
> problem could lie.
> List: Catalyst at lists.rawmode.org
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Catalyst