Sounds like you're trying to run a CGI.pm module from the command line. Basically, if you're not passing any variables into the script, just hit CTRL+D to signal EOF. If you need to pass parameters to the script, put them as variable=value format, one per line.
Incidentally, you would pass variables to the file if your url looks like http://some.url/cgi.pl?variable1=value&variable2=value
-marius | [reply] |
This is standard behavior with the CGI module. Since you're coding your script with it, I'm assuming you're trying to build a CGI script. For that reason, when you run your script from the command-line, CGI.pm notices this and assumes you are developing/trying to test your CGI script and gives you the means to pass form variables to it. See the CGI documentation. If you'd just like to go ahead and run the script without arguments, send it an EOF (ctrl-D under Unix) to signal the end of your variables.
If you are not trying to write a CGI script, you should remove the 'use CGI' line. | [reply] |
You're running a "cgi" script from the command line more than likely. check to see if it 'use CGI'. If its meant to be a CGI script, test it with a browser, if not, remove all the CGI stuff from the code. I can't tell much more from the desc, and this post probly should be in SOPW. | [reply] |