Runs on Perl 5.8.0 but no on 5.8.3:[DBI]

[prev] [thread] [next] [Date index for 2004/12/21]

From: Chetan Anand
Subject: Runs on Perl 5.8.0 but no on 5.8.3:[DBI]
Date: 10:44 on 21 Dec 2004
--0-1795243666-1103625896=:31937
Content-Type: text/plain; charset=us-ascii

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 
--0-1795243666-1103625896=:31937
Content-Type: text/html; charset=us-ascii

<DIV>Hi,</DIV>
<DIV><TT>Whenever I execute a Perl script the following error<BR>is displayed in apache's&nbsp; error_log:<BR><BR>[error] [client 127.0.0.1] Can't use string ("") as a<BR>HASH ref while "strict refs" in use at<BR>/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/DBI.pm<BR>line 514., referer: <A href="http://localhost/myforms/login.pl"; target=_blank>http://localhost/myforms/login.pl</A><BR><BR>This happens for all&nbsp; Perl scripts.My server version<BR>on Fedora Core 2 is 2.0.49 and perl 5.8.3<BR><BR>The same scripts run perfectly on Red Hat 9's&nbsp; Apache<BR>server version 2.0.40 and perl 5.8.0<BR><BR>How to fix this?</TT></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-1795243666-1103625896=:31937--

Runs on Perl 5.8.0 but no on 5.8.3:[DBI]
Chetan Anand 10:44 on 21 Dec 2004

Re: Runs on Perl 5.8.0 but no on 5.8.3:[DBI]
Tom Schindl 14:05 on 21 Dec 2004

Re: Runs on Perl 5.8.0 but no on 5.8.3:[DBI]
Jay Scherrer 16:18 on 21 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52