{
    "content": [
        {
            "type": "text",
            "text": "# SelectSaver (man)\n\n## NAME\n\nSelectSaver - save and restore selected file handle\n\n## SYNOPSIS\n\nuse SelectSaver;\n{\nmy $saver = SelectSaver->new(FILEHANDLE);\n# FILEHANDLE is selected\n}\n# previous handle is selected\n{\nmy $saver = SelectSaver->new;\n# new handle may be selected, or not\n}\n# previous handle is selected\n\n## DESCRIPTION\n\nA \"SelectSaver\" object contains a reference to the file handle that was selected when it was\ncreated.  If its \"new\" method gets an extra parameter, then that parameter is selected;\notherwise, the selected file handle remains unchanged.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SelectSaver",
        "section": "",
        "mode": "man",
        "summary": "SelectSaver - save and restore selected file handle",
        "synopsis": "use SelectSaver;\n{\nmy $saver = SelectSaver->new(FILEHANDLE);\n# FILEHANDLE is selected\n}\n# previous handle is selected\n{\nmy $saver = SelectSaver->new;\n# new handle may be selected, or not\n}\n# previous handle is selected",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "SelectSaver - save and restore selected file handle\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use SelectSaver;\n\n{\nmy $saver = SelectSaver->new(FILEHANDLE);\n# FILEHANDLE is selected\n}\n# previous handle is selected\n\n{\nmy $saver = SelectSaver->new;\n# new handle may be selected, or not\n}\n# previous handle is selected\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "A \"SelectSaver\" object contains a reference to the file handle that was selected when it was\ncreated.  If its \"new\" method gets an extra parameter, then that parameter is selected;\notherwise, the selected file handle remains unchanged.\n\nWhen a \"SelectSaver\" is destroyed, it re-selects the file handle that was selected when it\nwas created.\n\n\n\nperl v5.34.0                                 2025-07-25                           SelectSaver(3perl)",
                "subsections": []
            }
        }
    }
}