[Catalyst] Perl Catalyst : lexical error not displayed
bobtfish at bobtfish.net
Mon Sep 8 18:30:09 BST 2008
On 8 Sep 2008, at 15:24, tirveni yadav wrote:
> 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 = "Temp" ; #works fine whereas
> $title = "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 270.
> Compilation failed in require at script/testapp_server.pl line 55.
This is a bug in perl 5.10, and isn't anything to do with Catalyst /
there isn't anything Catalyst can do about it...
More information about the Catalyst