{
    "mode": "perldoc",
    "parameter": "MIME::Parser::Results",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3AParser%3A%3AResults/json",
    "generated": "2026-06-12T08:48:26Z",
    "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;",
    "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": []
        }
    },
    "summary": "MIME::Parser::Results - results of the last entity parsed",
    "flags": [],
    "examples": [],
    "see_also": []
}