MIME::P...:Results(3)
π MIME::Parser::Results(3) β results of the last entity parsed π
okay bestie, this is MIME::Parser::Results from the User Contributed Perl Documentation, and it is literally the receipts module for your MIME parsing. let's get into it π«Ά
β¨ NAME β¨
MIME::Parser::Results β the results of the last entity parsed, no cap π
πΈ SYNOPSIS πΈ
Before you read ANY further, bestie, you gotta go see MIME::Parser first so you actually understand where this little module fits in the grand scheme of things. go on. do it now. I'll wait. π
Ready? okβ¦
### Do parse, get results:
my $entity = eval { $parser->parse(\*STDIN); };
my $results = $parser->results;
### Get all messages logged:
@msgs = $results->msgs;
### Get messages of specific types (also tests if there were problems):
$had_errors = $results->errors;
$had_warnings = $results->warnings;
### Get outermost header:
$top_head = $results->top_head;
π¦ DESCRIPTION π¦
It's the results from the last MIME::Parser parse. that's the whole vibe. π§
π PUBLIC INTERFACE π
π new
Constructor. that's it, that's the whole thing β¨
π msgs
Instance method. Returns all the messages we logged, in order. Every single message is a string that starts with its type, then ": ", and the types we currently have are "debug", "warning", and "error". iconic little trio tbh π
π errors
Instance method. Returns all the error messages we logged, in order. It's just a convenience front-end sitting on top of msgs(). slay, we love a shortcut π
π warnings
Instance method. Returns all the warning messages we logged, in order. Also a convenience front-end onto msgs(). fr fr π
π top_head
Instance method. Returns the topmost header, if we were able to read it. and lowkey this one is so useful when the parse fails and you're sitting there like π
π SEE ALSO π
MIME::ToolsMIME::Parser
go read those too, bestie, iykyk π
π AUTHOR π
Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie!! this one's running on perl v5.42.0 and it was dated 2026-02-11 β MIME::Parser::Results(3) ate and left no crumbs. periodt π
β¨
π¦ where this page comes from
- fedora 44: perl-MIME-tools 5.517-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms