Chris Nehren on 3 Dec 2010 03:13:06 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Stupid Perl/CGI Questions


On Dec 1, 2010, at 9:04 AM, Jon Nelson wrote:

> Hi all,
> 
> I am sure there has to be an easy fix for my problem, but my googling has not been fruitful.  This page has rendered without error in the past, but now will not and I get the following error repeated 9 times:
> 
>     [Tue Nov 30 15:45:22 2010] driveInfo.cgi: Use of uninitialized value in concatenation (.) or string at (eval 25) line 23.
> 
> Line 23 is in the middle of my opening comments in driveInfo.cgi so what does "(eval 25) line 23" mean?.  As far as I can tell the offending code is:

Yes, line 23 is the middle of your opening comments. However, CGI.pm uses eval for performance reasons (yes, you read that properly). It's strongly deprecated for modern programming in favor of FastCGI or something like Web::Simple. Without seeing all of your code, I can't tell you what your actual problem is. You're much better off moving out of the dark ages, though.

-- 
Thanks and best regards,
Chris Nehren

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug