I have just recently installed mod_perl. I am able to succesfuly run simple scripts using both the API and Apache::Registry. I have a CGI::Application script that works from both the command line and just apache. However when I attempt to run it with mod perl I get this error log file that is not helpful at all. It does not resemble a normal apache error file (at least with me eyese). I know I can use Apache::Debug, but I dont even know where to place it within the script. I'm basiclly clueless. If anyone can throw me a bone, it would be greatly appreciated. Heres the error log
[Thu Oct 23 10:53:17 2003] -e: subnets::subnetTable('subnets=HASH(0x8 +14703c)') called at /usr/local/lib/perl5/site_perl/5.8.0/CGI/Applicat +ion.pm line 142 [Thu Oct 23 10:53:17 2003] -e: eval {...} called at /usr/local/lib/pe +rl5/site_perl/5.8.0/CGI/Application.pm line 142 [Thu Oct 23 10:53:17 2003] -e: CGI::Application::run('subnets=HASH(0x +814703c)') called at /usr/local/apache2/perl/lib/subnetApp.pl line 8 [Thu Oct 23 10:53:17 2003] -e: ModPerl::ROOT::ModPerl::Registry::usr_ +local_apache2_perl_lib_subnetApp_2epl::handler('Apache::RequestRec=SC +ALAR(0x81a6a50)') called at /usr/local/lib/perl5/site_perl/5.8.0/i686 +-linux/Apache2/ModPerl/RegistryCooker.pm line 184 [Thu Oct 23 10:53:17 2003] -e: eval {...} called at /usr/local/lib/pe +rl5/site_perl/5.8.0/i686-linux/Apache2/ModPerl/RegistryCooker.pm line + 184 [Thu Oct 23 10:53:17 2003] -e: ModPerl::RegistryCooker::run('ModPerl: +:Registry=HASH(0x81a6984)') called at /usr/local/lib/perl5/site_perl/ +5.8.0/i686-linux/Apache2/ModPerl/RegistryCooker.pm line 154 [Thu Oct 23 10:53:17 2003] -e: ModPerl::RegistryCooker::default_handl +er('ModPerl::Registry=HASH(0x81a6984)') called at /usr/local/lib/perl +5/site_perl/5.8.0/i686-linux/Apache2/ModPerl/Registry.pm line 16 [Thu Oct 23 10:53:17 2003] -e: ModPerl::Registry::handler('ModPerl::R +egistry','Apache::RequestRec=SCALAR(0x81a6a50)') called at /usr/local +/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 0 [Thu Oct 23 10:53:17 2003] -e: eval {...} called at /usr/local/lib/pe +rl5/site_perl/5.8.0/HTML/Template.pm line 0

In reply to ugly mod perl error log by Anonymous Monk

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.