CGI error in CNS

Joe Krahn krahn at niehs.nih.gov
Tue Mar 20 12:16:27 EST 2001


This is a problem with a newer version of perl, not with
the web server. Newer Perl seems a little more strict
about syntax. All you need to do is remove parenthesis,
for example:
undef(a,b,c,d);
to:
undef a,b,c,d;

This occurs in several places in the CGI scripts.
There might be other commands with "optional"
parenthesis that need to be taken out.

Joe Krahn

Che Ma wrote:
> 
> But I still got the premature termination message as follow:
> 
> ---------------------------------------------------------
> [Thu Mar 15 16:24:44 2001] [notice] Apache/1.3.12 (Unix)  (Red
> Hat/Linux)
> configured -- resuming normal operations
> Too many arguments for undef operator at cns.lib line 69, near "$i )"




More information about the X-plor mailing list