{
    "content": [
        {
            "type": "text",
            "text": "# Template::Plugin::CGI (perldoc)\n\n## NAME\n\nTemplate::Plugin::CGI - Interface to the CGI module\n\n## SYNOPSIS\n\n[% USE CGI %]\n[% CGI.param('parameter') %]\n[% USE things = CGI %]\n[% things.param('name') %]\n# see CGI docs for other methods provided by the CGI object\n\n## DESCRIPTION\n\nThis is a very simple Template Toolkit Plugin interface to the \"CGI\" module. A \"CGI\" object will\nbe instantiated via the following directive:\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **AUTHOR**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Template::Plugin::CGI",
        "section": "",
        "mode": "perldoc",
        "summary": "Template::Plugin::CGI - Interface to the CGI module",
        "synopsis": "[% USE CGI %]\n[% CGI.param('parameter') %]\n[% USE things = CGI %]\n[% things.param('name') %]\n# see CGI docs for other methods provided by the CGI object",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Template::Plugin::CGI - Interface to the CGI module\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "[% USE CGI %]\n[% CGI.param('parameter') %]\n\n[% USE things = CGI %]\n[% things.param('name') %]\n\n# see CGI docs for other methods provided by the CGI object\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a very simple Template Toolkit Plugin interface to the \"CGI\" module. A \"CGI\" object will\nbe instantiated via the following directive:\n\n[% USE CGI %]\n\n\"CGI\" methods may then be called as follows:\n\n[% CGI.header %]\n[% CGI.param('parameter') %]\n\nAn alias can be used to provide an alternate name by which the object should be identified.\n\n[% USE mycgi = CGI %]\n[% mycgi.startform %]\n[% mycgi.popupmenu({ Name   => 'Color'\nValues => [ 'Green' 'Black' 'Brown' ] }) %]\n\nParenthesised parameters to the \"USE\" directive will be passed to the plugin constructor:\n\n[% USE cgiprm = CGI('uid=abw&name=Andy+Wardley') %]\n[% cgiprm.param('uid') %]\n",
                "subsections": []
            },
            "METHODS": {
                "content": "In addition to all the methods supported by the \"CGI\" module, this plugin defines the following.\n\nparams()\nThis method returns a reference to a hash of all the \"CGI\" parameters. Any parameters that have\nmultiple values will be returned as lists.\n\n[% USE CGI('user=abw&item=foo&item=bar') %]\n[% CGI.params.user %]            # abw\n[% CGI.params.item.join(', ') %] # foo, bar\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Andy Wardley <abw@wardley.org> <http://wardley.org/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved.\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": "Template::Plugin, CGI\n",
                "subsections": []
            }
        }
    }
}