[Catalyst] Perl Catalyst : lexical error not displayed

tirveni yadav yadav.tirveni at gmail.com
Mon Sep 8 15:24:02 BST 2008


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.

When running with restart option 'script/testapp_server.pl' results in this
error ::
[info] Testapp powered by Catalyst 5.7014
You can connect to your server at http://saturn:3000
File "/hm/Testapp/lib/Testapp/Controller/Author.pm" modified, not restarting

Unknown error
Compilation failed in require at (eval 1300) line 1.

As No other error messages are displayed, it becomes difficult to locate
erroneous line

Item 2)  Running 'script/testapp_server.pl' displays these warnings

Subroutine can redefined at /usr/share/perl/5.10/mro.pm line 23.
Subroutine method redefined at /usr/share/perl/5.10/mro.pm line 25.
Subroutine method redefined at /usr/share/perl/5.10/mro.pm line 33.

Perl Version :         5.10.0
libcatalyst-perl :     5.7014-1
libmro-compat-perl:     0.09-1
Debian :         Linux version 2.6.18-3-k7 (Debian 2.6.18-7)

-- =


Tirveni Yadav

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...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080908/6d99b=

More information about the Catalyst mailing list