{
    "mode": "perldoc",
    "parameter": "HTTP::Server::Simple::CGI::Environment",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/HTTP%3A%3AServer%3A%3ASimple%3A%3ACGI%3A%3AEnvironment/json",
    "generated": "2026-05-30T16:08:44Z",
    "sections": {
        "NAME": {
            "content": "HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to\nprovide the CGI protocol\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This mixin abstracts the CGI protocol out from HTTP::Server::Simple::CGI\nso that it's easier to provide your own CGI handlers with\nHTTP::Server::Simple which don't use CGI.pm\n\nsetupenvironment\n\"setupenvironemnt\" is usually called in the superclass's accepthook\n\nThis routine in this sub-class clears the environment to the start-up\nstate.\n\nsetupserverurl\nSets up the \"SERVERURL\" environment variable\n\nsetupenvironmentfrommetadata\nThis method sets up CGI environment variables based on various\nmeta-headers, like the protocol, remote host name, request path, etc.\n\nSee the docs in HTTP::Server::Simple for more detail.\n\nheader\n\"header\" turns a single HTTP headers into CGI environment variables.\n",
            "subsections": []
        }
    },
    "summary": "HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol",
    "flags": [],
    "examples": [],
    "see_also": []
}