in reply to Re^2: CGI on the console
in thread CGI on the console

Actually, CGI does have information on this. Look for the section called "DEBUGGING". I just went there, searched for "command" (as in "command line" or "commandline"), and eventually found this section. I think it has exactly the details you're looking for.

Replies are listed 'Best First'.
Re^4: CGI on the console
by raflach (Pilgrim) on May 10, 2005 at 02:50 UTC

    Ok,

    Sorry, perlfaq9 has nothing but CGI does contain the info on simulating POST data. Still nothing on simulating cookies. I'm guessing it has to be an env variable... Anyone want to take a shot?

      My guess is either HTTP_COOKIE or COOKIE. The format seems to be something like:

      COOKIE=name=value;name2=value1&value2
      This should be in your environment, but beware that if you're on unix, the ';' is a special character, so you need to properly escape this.

      This is all just a SWAG. YMMV.