Have a look at the mod_perl_traps perldoc file that is included with mod_perl. There are some hints at what might be going on here. From the docs:

"Use of uninitialized value" Because of eval context, you may see warnings with useless +filename/line, example: Use of uninitialized value at (eval 80) line 12. Use of uninitialized value at (eval 80) line 43. Use of uninitialized value at (eval 80) line 44. To track down where this eval is really happening, try usin +g a __WARN__ handler to give you a stack trace: use Carp (); local $SIG{__WARN__} = \&Carp::cluck;

It is surprising that Apache::Registry is having issues with eval'ing your CGI script though, since with CGI::Application your script is so minimal... Do you have anything more complex than the following in your cgi script:

use WebApp; my $webapp = WebApp->new(); $webapp->run();

Or are you doing your own eval'ing in your modules?


In reply to Re: Tracking down an error in a mod_perl script by cees
in thread Tracking down an error in a mod_perl script by jgallagher

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.