I've been getting these messages in my Apache error_log for several weeks. The perl script is perfectly happy, no warnings with strict and when checking with perl -wc and the web service seems to be running well. The server itself has been up for more than 600 days, it is running Fedora Core 7 (I'm afraid of upgrading when it is a production server and the client is happy), Apache 2.2.8, and Mod_perl recently upgraded from 2.0.3 to 2.0.4 without change in status other than response time is definitely more brisk with 2.0.4.
[17:43:26] (eval 1105): Bareword found where operator expected at (eva +l 1105) line 1, near "${ModPerl::ROOT::ModPerl::Registry::home_admin_ +www_mail_2efcgi}::app" [17:43:26] (eval 1105): (Missing operator before ::app?)
The best I can come up with is that this has something to do with the launching mechanism in ModPerl::Registry which is running an unmodified 'use CGI' script for me (called mail.fcgi). Here's my Apache perl.conf
LoadModule perl_module modules/mod_perl.so #PerlSwitches -w -- when turned on I get Use of uninitialized... war +nings in the log, but the error happens when it is off #PerlSwitches -T -- universal Taint checking is slow... <Files *.fcgi> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Files>
Many other ModPerl::Registry scripts run as part of the service, but only this one reports the bareword error. Yet it itself runs very well (more than 2000 invocations per day). I'm not sure how to attack the problem, or whether any of my Perlmonk Brothers or Sisters have in fact seen it themselves? Any and all comments are welcome.

Thanks in advance,

SSF


In reply to mod_perl bareword error by sflitman

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.