[Catalyst] Perl Catalyst : lexical error not displayed
yadav.tirveni at gmail.com
Wed Sep 10 12:02:59 BST 2008
On Mon, Sep 8, 2008 at 11:37 PM, Josef Chladek <josef.chladek at gmail.com>wro=
> Am 08.09.2008 um 16:24 schrieb tirveni yadav:
>> I am facing some issues in catalyst since upgrade to perl 5.10 from 5.8
>> in Debian 4.1 .
>> Item 1)
>> I am finding it hard to locate errors because of this :
>> When a variable is not declared lexically:
>> my $title =3D "Temp" ; #works fine whereas
>> $title =3D "Temp" ; #Unknown Error
>> These Messages are Displayed with different options for the error
>> above :
>> Running 'script/testapp_server.pl' with results in this error ::
>> Unknown error
>> Compilation failed in require at /usr/share/perl5/Catalyst/Utils.pm line
>> Compilation failed in require at script/testapp_server.pl line 55.
> you have to patch and compile perl 5.10 yourself, the patch is described
> download perl5.10 (http://www.cpan.org/src/perl-5.10.0.tar.gz),
> before ./Configure patch file toke.c (toplevel) line 692
> parser->nexttoke =3D 0;
> + parser->error_count =3D oparser ? oparser->error_count : 0;
> parser->copline =3D NOLINE;
> parser->lex_state =3D LEX_NORMAL;
> parser->expect =3D XSTATE;
> that's it, ./Confiure;make . I don't know if there's a deb-file of a
> patched perl around...
Yes, Debian Repository don't have the Perl with this patch.
Will patch and compile Perl .
Thanks for the help .
What is this Universe ? From what it arises ? Into what does it go?
In freedom it arises, In freedom it rests and into freedom it melts away.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst