{
    "content": [
        {
            "type": "text",
            "text": "# Mail::Box::Tie (perldoc)\n\n## NAME\n\nMail::Box::Tie - access an existing message-folder as an array or hash\n\n## SYNOPSIS\n\nAs an array:\nuse Mail::Box::Tie;\ntie my(@inbox), Mail::Box::Tie::ARRAY => $folder;\ntie my(@inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox[3];\nor as hash:\ntie my(%inbox), Mail::Box::Tie::HASH => $folder;\ntie my(%inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox{'<12379.124879@example.com>'};\n\n## DESCRIPTION\n\nThe use of \"Mail::Box::Tie\" is deprecated, because it is succeeded by two separate modules:\nMail::Box::Tie::ARRAY and Mail::Box::Tie::HASH. However, this module still works.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS**\n- **SEE ALSO**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Mail::Box::Tie",
        "section": "",
        "mode": "perldoc",
        "summary": "Mail::Box::Tie - access an existing message-folder as an array or hash",
        "synopsis": "As an array:\nuse Mail::Box::Tie;\ntie my(@inbox), Mail::Box::Tie::ARRAY => $folder;\ntie my(@inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox[3];\nor as hash:\ntie my(%inbox), Mail::Box::Tie::HASH => $folder;\ntie my(%inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox{'<12379.124879@example.com>'};",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Mail::Box::Tie - access an existing message-folder as an array or hash\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "As an array:\n\nuse Mail::Box::Tie;\ntie my(@inbox), Mail::Box::Tie::ARRAY => $folder;\ntie my(@inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox[3];\n\nor as hash:\n\ntie my(%inbox), Mail::Box::Tie::HASH => $folder;\ntie my(%inbox), Mail::Box::Tie => $folder;    # deprecated\nprint $inbox{'<12379.124879@example.com>'};\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The use of \"Mail::Box::Tie\" is deprecated, because it is succeeded by two separate modules:\nMail::Box::Tie::ARRAY and Mail::Box::Tie::HASH. However, this module still works.\n\nFolders certainly look like an array of messages, so why not just access them as one? Or, the\norder is not important, but the message-ids are (give relations): why not access them from a\nhash based on this message-id? Programs using one of these ties will look simpler than programs\nusing the more traditional method calls.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "This module is part of Mail-Box distribution version 3.009, built on August 18, 2020. Website:\nhttp://perl.overmeer.net/CPAN/\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see ChangeLog.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See http://dev.perl.org/licenses/\n",
                "subsections": []
            }
        }
    }
}