sflitman has asked for the wisdom of the Perl Monks concerning the following question:
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.
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[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?)
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.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>
Thanks in advance,
SSF
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: mod_perl bareword error
by ysth (Canon) on Aug 02, 2010 at 01:46 UTC | |
by ikegami (Patriarch) on Aug 02, 2010 at 03:58 UTC | |
by ysth (Canon) on Aug 02, 2010 at 04:50 UTC | |
by sflitman (Hermit) on Aug 02, 2010 at 03:49 UTC | |
by ysth (Canon) on Aug 02, 2010 at 04:54 UTC | |
by sflitman (Hermit) on Aug 02, 2010 at 07:19 UTC | |
by tye (Sage) on Aug 03, 2010 at 05:57 UTC | |
| |
by ysth (Canon) on Aug 02, 2010 at 17:30 UTC | |
| |
Re: mod_perl bareword error
by Anonymous Monk on Aug 02, 2010 at 02:07 UTC | |
by sflitman (Hermit) on Aug 02, 2010 at 03:43 UTC |
Back to
Seekers of Perl Wisdom