{
    "content": [
        {
            "type": "text",
            "text": "# CPAN::HandleConfig (perldoc)\n\n**Summary:** CPAN::HandleConfig - internal configuration handling for CPAN.pm  \"CLASS->safequote ITEM\" Quotes an item to become safe against spaces in shell interpolation. An item is enclosed in double quotes if:  - the item contains spaces in the middle - the item does not start with a quote  This happens to avoid shell interpolation problems when whitespace is present in directory names.  This method uses \"commandsquote\" to determine the correct quote. If \"commandsquote\" is a space, no quoting will take place.  if it starts and ends with the same quote character: leave it as it is  if it contains no whitespace: leave it as it is  if it contains whitespace, then  if it contains quotes: better leave it as it is  else: quote it with the correct quote type for the box we're on\n\n## Section Outline\n\n- **NAME** (25 lines)\n- **LICENSE** (3 lines)\n\n## Full Content\n\n### NAME\n\nCPAN::HandleConfig - internal configuration handling for CPAN.pm\n\n\"CLASS->safequote ITEM\"\nQuotes an item to become safe against spaces in shell interpolation. An item is enclosed in\ndouble quotes if:\n\n- the item contains spaces in the middle\n- the item does not start with a quote\n\nThis happens to avoid shell interpolation problems when whitespace is present in directory\nnames.\n\nThis method uses \"commandsquote\" to determine the correct quote. If \"commandsquote\" is a\nspace, no quoting will take place.\n\nif it starts and ends with the same quote character: leave it as it is\n\nif it contains no whitespace: leave it as it is\n\nif it contains whitespace, then\n\nif it contains quotes: better leave it as it is\n\nelse: quote it with the correct quote type for the box we're on\n\n### LICENSE\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\n"
        }
    ],
    "structuredContent": {
        "command": "CPAN::HandleConfig",
        "section": "",
        "mode": "perldoc",
        "summary": "CPAN::HandleConfig - internal configuration handling for CPAN.pm  \"CLASS->safequote ITEM\" Quotes an item to become safe against spaces in shell interpolation. An item is enclosed in double quotes if:  - the item contains spaces in the middle - the item does not start with a quote  This happens to avoid shell interpolation problems when whitespace is present in directory names.  This method uses \"commandsquote\" to determine the correct quote. If \"commandsquote\" is a space, no quoting will take place.  if it starts and ends with the same quote character: leave it as it is  if it contains no whitespace: leave it as it is  if it contains whitespace, then  if it contains quotes: better leave it as it is  else: quote it with the correct quote type for the box we're on",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "CPAN::HandleConfig - internal configuration handling for CPAN.pm\n\n\"CLASS->safequote ITEM\"\nQuotes an item to become safe against spaces in shell interpolation. An item is enclosed in\ndouble quotes if:\n\n- the item contains spaces in the middle\n- the item does not start with a quote\n\nThis happens to avoid shell interpolation problems when whitespace is present in directory\nnames.\n\nThis method uses \"commandsquote\" to determine the correct quote. If \"commandsquote\" is a\nspace, no quoting will take place.\n\nif it starts and ends with the same quote character: leave it as it is\n\nif it contains no whitespace: leave it as it is\n\nif it contains whitespace, then\n\nif it contains quotes: better leave it as it is\n\nelse: quote it with the correct quote type for the box we're on\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "This program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}