Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Error: Can't use global $^W in "my"by Likeless (Acolyte) |
on Jul 08, 2004 at 16:57 UTC ( [id://372857]=perlquestion: print w/replies, xml ) | Need Help?? |
Likeless has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am intermittently receiving these errors on my production web server (Apache): [Fri Apr 30 15:17:31 2004] [error] Can't use global $^W in "my" at /usr/www/httpd/cgi-bin/script.cgi line 1, near "{$^W " It happens about three times a day, and on many different scripts. All the scripts are running under mod_perl, and I have not used the $^W variable explicitly in any of them (in fact, I didn't know what it was until I got these errors). Most of my scripts start something like this: If it helps at all, some details of my system are: Red Hat Linux 9.0 Perl 5.8.0 Apache/1.3.28 mod_gzip/1.3.26.1a mod_ssl/2.8.15 OpenSSL/0.9.7a mod_perl/1.28 mod_perl entry in httpd.conf: I hope you can help. Thanks in advance!
Back to
Seekers of Perl Wisdom
|
|