{
    "content": [
        {
            "type": "text",
            "text": "# MIME::Parser::Results (perldoc)\n\n## NAME\n\nMIME::Parser::Results - results of the last entity parsed\n\n## SYNOPSIS\n\nBefore reading further, you should see MIME::Parser to make sure that you understand where this\nmodule fits into the grand scheme of things. Go on, do it now. I'll wait.\nReady? Ok...\n### Do parse, get results:\nmy $entity = eval { $parser->parse(\\*STDIN); };\nmy $results  = $parser->results;\n### Get all messages logged:\n@msgs = $results->msgs;\n### Get messages of specific types (also tests if there were problems):\n$haderrors   = $results->errors;\n$hadwarnings = $results->warnings;\n### Get outermost header:\n$tophead  = $results->tophead;\n\n## DESCRIPTION\n\nResults from the last MIME::Parser parse.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PUBLIC INTERFACE**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "MIME::Parser::Results",
        "section": "",
        "mode": "perldoc",
        "summary": "MIME::Parser::Results - results of the last entity parsed",
        "synopsis": "Before reading further, you should see MIME::Parser to make sure that you understand where this\nmodule fits into the grand scheme of things. Go on, do it now. I'll wait.\nReady? Ok...\n### Do parse, get results:\nmy $entity = eval { $parser->parse(\\*STDIN); };\nmy $results  = $parser->results;\n### Get all messages logged:\n@msgs = $results->msgs;\n### Get messages of specific types (also tests if there were problems):\n$haderrors   = $results->errors;\n$hadwarnings = $results->warnings;\n### Get outermost header:\n$tophead  = $results->tophead;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PUBLIC INTERFACE",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "MIME::Parser::Results - results of the last entity parsed\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "Before reading further, you should see MIME::Parser to make sure that you understand where this\nmodule fits into the grand scheme of things. Go on, do it now. I'll wait.\n\nReady? Ok...\n\n### Do parse, get results:\nmy $entity = eval { $parser->parse(\\*STDIN); };\nmy $results  = $parser->results;\n\n### Get all messages logged:\n@msgs = $results->msgs;\n\n### Get messages of specific types (also tests if there were problems):\n$haderrors   = $results->errors;\n$hadwarnings = $results->warnings;\n\n### Get outermost header:\n$tophead  = $results->tophead;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Results from the last MIME::Parser parse.\n",
                "subsections": []
            },
            "PUBLIC INTERFACE": {
                "content": "new *Constructor.*\n\nmsgs\n*Instance method.* Return all messages that we logged, in order. Every message is a string\nbeginning with its type followed by \": \"; the current types are \"debug\", \"warning\", and\n\"error\".\n\nerrors\n*Instance method.* Return all error messages that we logged, in order. A convenience\nfront-end onto msgs().\n\nwarnings\n*Instance method.* Return all warning messages that we logged, in order. A convenience\nfront-end onto msgs().\n\ntophead\n*Instance method.* Return the topmost header, if we were able to read it. This may be useful\nif the parse fails.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "MIME::Tools, MIME::Parser\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).\n\nAll rights reserved. This program is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.\n",
                "subsections": []
            }
        }
    }
}