![]() |
![]()
| ![]() |
![]()
NAMEMIME::Parser::Results - results of the last entity parsed SYNOPSISBefore reading further, you should see MIME::Parser to make sure that you understand where this module fits into 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; DESCRIPTIONResults from the last MIME::Parser parse. PUBLIC INTERFACE
SEE ALSOMIME::Tools, MIME::Parser AUTHOREryq (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.
|