|
Dear Sir/Madam:
I have succesfully installed an OpenSRS v2.2 on my
Windows 2000 system.
However when I go forward I meet a problem: I call the program /cgi-bin/reg_system.cgi directly on my browser in terms of the "OpenSRS V2.2 Perl Client Manual", than I meet a CGI error: CGI Error
The specified CGI application misbehaved by not
returning a complete set of HTTP headers. The headers it did return
are:
Can't modify predecrement (--) in predecrement (--)
at c:\inetpub\wwwroot\cgi-bin\reg_system.cgi line 47, near "};"
BEGIN not safe after errors--compilation aborted at c:\inetpub\wwwroot\cgi-bin\reg_system.cgi line 114. Line 46 to line 49 are
46: # global defines 47: $cgi = $ENV{SCRIPT_NAME}; 48: $path_templates = "$PATH_TEMPLATES/reg_system"; 49: %in = (); Line 112 to line 116 are
112: # they passed a valid action 113: } elsif (exists $actions{$action}) { 114: no strict "refs"; 115: &$action(); 116: use strict; Would you please tell me what's wrong with my
work?
Thank you very much.
Jay Fan
|
