debian man page for mime::parser::results

Query: mime::parser::results

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MIME::Parser::Results(3pm)				User Contributed Perl Documentation				MIME::Parser::Results(3pm)

NAME
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 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;
DESCRIPTION
Results from the last MIME::Parser parse.
PUBLIC INTERFACE
new Constructor. msgs Instance method. Return all messages that we logged, in order. Every message is a string beginning with its type followed by ": "; the current types are "debug", "warning", and "error". errors Instance method. Return all error messages that we logged, in order. A convenience front-end onto msgs(). warnings Instance method. Return all warning messages that we logged, in order. A convenience front-end onto msgs(). top_head Instance method. Return the topmost header, if we were able to read it. This may be useful if the parse fails.
SEE ALSO
MIME::Tools, MIME::Parser
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. perl v5.14.2 2008-06-30 MIME::Parser::Results(3pm)
Related Man Pages
mime::body(3) - osx
mime::parser::results(3) - mojave
mime::parser::filer5.18(3) - mojave
mime::parser::filer(3) - suse
mime::parser::filer(3pm) - debian
Similar Topics in the Unix Linux Community
PHP MIME Mail decoder class 2008.03.27 (Default branch)
On ROWNUM and Limiting Results
PHP MIME Mail decoder class 2008.05.30 (Default branch)
CloudFront CDN Initial Results
Outputting Results to Indexed List