[Catalyst] Unkown error

dab dab at free.fr
Wed Jun 18 23:46:36 BST 2008


hi,

I use Catalyst 5.7014 and Perl 5.10 and i dont understand why I have
this type of error

A simple example:
catalyst.pl myapp
cd myapp

I add an error in Root.pm

-------------------------------
sub index : Path Args(0) {
    my ( $self, $c ) = @_;

    # Hello World
    $c->response->body( $c->welcome_message );

    TheError;
}
------------------------------
./script/myapp_server.pl 
Unknown error
Compilation failed in require
at /home/dab/perl5/lib/perl5/Catalyst/Utils.pm line 270. Compilation
failed in require at ./script/myapp_server.pl line 55.

It is very difficult to find a mistake with what returns catalyst :(
How can i debug application with this type of message ?

note: I dont have this problem with Perl 5.8.8

Thank




More information about the Catalyst mailing list