This is just a "error somewhere". In 5.10 some of standart perl runtime
exceptions might cause this "Unknown error". You just have to find the error
manually and fix it.

2008/6/19 dab <[EMAIL PROTECTED]>:

> 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: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to