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

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?

Replies are listed 'Best First'.
Re^5: CGI on the console
by Tanktalus (Canon) on May 10, 2005 at 03:06 UTC

    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.