Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-23 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found