* Version of DBI.pm * Maybe also the part of DBI.pm around line 514 * try to run a programm on the command-line using DBI if it also fails => upgrade DBI.pm (are the version on the 2 servers the same)? * give it a try at the DBI-Mailling list
Tom
Chetan Anand wrote:
Hi, Whenever I execute a Perl script the following error is displayed in apache's error_log:
[error] [client 127.0.0.1] Can't use string ("") as a HASH ref while "strict refs" in use at /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 514., referer: http://localhost/myforms/login.pl
This happens for all Perl scripts.My server version on Fedora Core 2 is 2.0.49 and perl 5.8.3
The same scripts run perfectly on Red Hat 9's Apache server version 2.0.40 and perl 5.8.0
How to fix this?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html