{
    "mode": "info",
    "parameter": "MIME::Parser::Results",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/MIME%3A%3AParser%3A%3AResults/json",
    "generated": "2026-07-05T09:24:25Z",
    "synopsis": "Before reading further, you should see MIME::Parser to make sure that\nyou understand where this module fits into the grand scheme of things.\nGo 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\nyou understand where this module fits into the grand scheme of things.\nGo 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\nInstance method.  Return all messages that we logged, in order.\nEvery message is a string beginning with its type followed by \": \";\nthe current types are \"debug\", \"warning\", and \"error\".\n\nerrors\nInstance method.  Return all error messages that we logged, in\norder.  A convenience front-end onto msgs().\n\nwarnings\nInstance method.  Return all warning messages that we logged, in\norder.  A convenience front-end onto msgs().\n\ntophead\nInstance method.  Return the topmost header, if we were able to\nread it.  This may be useful if 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\nredistribute it and/or modify it under the same terms as Perl itself.\n\nperl v5.26.1                      2017-10-20        MIME::Parser::Results(3pm)",
            "subsections": []
        }
    },
    "summary": "MIME::Parser::Results - results of the last entity parsed",
    "flags": [],
    "examples": [],
    "see_also": []
}