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."

This haapened in my code and then I downloaded the code from svn but got the same error.

Also,

in the auto-generated code, I had to add a comma to line 9
package MyApp::View::TT;

use strict;
use base 'Catalyst::View::TT';

__PACKAGE__->config({
    CATALYST_VAR => 'Catalyst',
    INCLUDE_PATH => [
        MyApp->path_to( 'root', 'src' ),
        MyApp->path_to( 'root', 'lib' )
    ],
    PRE_PROCESS  => 'config/main',
    WRAPPER      => 'site/wrapper',
    ERROR        => 'error.tt2',
    TIMER        => 0
});

Am using Catalyst version 5.7001.

CIA

-Ants


Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to