[Catalyst] Unkown error

Oleg Pronin syber.rus at gmail.com
Thu Jun 19 17:28:38 BST 2008


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 <dab at free.fr>:

> 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 ) =3D @_;
>
>    # 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 at 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080619/3244b=
13b/attachment.htm


More information about the Catalyst mailing list