{
    "mode": "perldoc",
    "parameter": "AppConfig::CGI",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/AppConfig%3A%3ACGI/json",
    "generated": "2026-06-13T19:32:38Z",
    "synopsis": "use AppConfig::CGI;\nmy $state = AppConfig::State->new(\\%cfg);\nmy $cgi   = AppConfig::CGI->new($state);\n$cgi->parse($cgiquery);\n$cgi->parse();               # looks for CGI query in environment",
    "sections": {
        "NAME": {
            "content": "AppConfig::CGI - Perl5 module for processing CGI script parameters.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use AppConfig::CGI;\n\nmy $state = AppConfig::State->new(\\%cfg);\nmy $cgi   = AppConfig::CGI->new($state);\n\n$cgi->parse($cgiquery);\n$cgi->parse();               # looks for CGI query in environment\n",
            "subsections": []
        },
        "OVERVIEW": {
            "content": "AppConfig::CGI is a Perl5 module which implements a CGI interface to AppConfig. It examines the\nQUERYSTRING environment variable, or a string passed explicitly by parameter, which represents\nthe additional parameters passed to a CGI query. This is then used to update variable values in\nan AppConfig::State object accordingly.\n\nAppConfig::CGI is distributed as part of the AppConfig bundle.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "USING THE AppConfig::CGI MODULE\nTo import and use the AppConfig::CGI module the following line should appear in your Perl\nscript:\n\nuse AppConfig::CGI;\n\nAppConfig::CGI is used automatically if you use the AppConfig module and create an\nAppConfig::CGI object through the cgi() method. AppConfig::CGI is implemented using\nobject-oriented methods. A new AppConfig::CGI object is created and initialised using the new()\nmethod. This returns a reference to a new AppConfig::CGI object. A reference to an\nAppConfig::State object should be passed in as the first parameter:\n\nmy $state = AppConfig::State->new();\nmy $cgi   = AppConfig::CGI->new($state);\n\nThis will create and return a reference to a new AppConfig::CGI object.\n\nPARSING CGI QUERIES\nThe \"parse()\" method is used to parse a CGI query which can be specified explicitly, or is\nautomatically extracted from the \"QUERYSTRING\" CGI environment variable. This currently limits\nthe module to only supporting the GET method.\n\nSee AppConfig for information about using the AppConfig::CGI module via the cgi() method.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Andy Wardley, \"<abw@wardley.org>\"\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 1997-2007 Andy Wardley. All Rights Reserved.\n\nCopyright (C) 1997,1998 Canon Research Centre Europe Ltd.\n\nThis module is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "AppConfig, AppConfig::State\n",
            "subsections": []
        }
    },
    "summary": "AppConfig::CGI - Perl5 module for processing CGI script parameters.",
    "flags": [],
    "examples": [],
    "see_also": []
}