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


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to