{
    "content": [
        {
            "type": "text",
            "text": "# Tie::Array::Sorted::Lazy (perldoc)\n\n## NAME\n\nTie::Array::Sorted::Lazy - An array which is kept sorted\n\n## SYNOPSIS\n\nuse Tie::Array::Sorted::Lazy;\ntie @a, \"Tie::Array::Sorted::Lazy\", sub { $[0] <=> $[1] };\npush @a, 10, 4, 7, 3, 4;\nprint \"@a\"; # \"3 4 4 7 10\"\n\n## DESCRIPTION\n\nThis is a version Tie::Array::Sorted optimised for arrays which are stored to more often than\nfetching. In this case the array is resorted on retrieval, rather than insertion. (It only\nre-sorts if data has been modified since the last sort).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Tie::Array::Sorted::Lazy",
        "section": "",
        "mode": "perldoc",
        "summary": "Tie::Array::Sorted::Lazy - An array which is kept sorted",
        "synopsis": "use Tie::Array::Sorted::Lazy;\ntie @a, \"Tie::Array::Sorted::Lazy\", sub { $[0] <=> $[1] };\npush @a, 10, 4, 7, 3, 4;\nprint \"@a\"; # \"3 4 4 7 10\"",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Tie::Array::Sorted::Lazy - An array which is kept sorted\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Tie::Array::Sorted::Lazy;\n\ntie @a, \"Tie::Array::Sorted::Lazy\", sub { $[0] <=> $[1] };\n\npush @a, 10, 4, 7, 3, 4;\nprint \"@a\"; # \"3 4 4 7 10\"\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a version Tie::Array::Sorted optimised for arrays which are stored to more often than\nfetching. In this case the array is resorted on retrieval, rather than insertion. (It only\nre-sorts if data has been modified since the last sort).\n\ntie @a, \"Tie::Array::Sorted::Lazy\", sub { -s $[0] <=> -s $[1] };\n",
                "subsections": []
            }
        }
    }
}