MIME::Parser::Results(3) User Contributed Perl Documentation MIME::Parser::Results(3)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.16.2 2008-06-30 MIME::Parser::Results(3)
Check Out this Related Man Page
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)
Hello,
I am uning IRIX64. I need to do an ls - 1 (one) command in order to get a one colum listing of the contents of a non current directory:
t01:~ > ls -1 /scratch/u118807/reconstruct
./
../
fr000202.rec
fr000202.sin
input_files/
input_files.tar
sin000000.rec
sin000000.sin... (8 Replies)
I need to copy my Live Db Instance to my Test Db Instance
Can somebody please tell me the easiest way to go about this
It is an Informix Database running on HP-UX
Thanks (0 Replies)
Please, if somebody can help me to understand the results of unixbench.
I have read some information about benchmarking but i cant find a explanation about these results.
Dhrystone 2 using register variables
Double-Precision Whetstone
System Call Overhead ... (0 Replies)
I have a script that uses the File::Listing module. I am trying to install it, but I read the ReadMe and it states that the following modules should be installed first:
URI
MIME-Base64
HTML-Parser
libnet
Digest-MD5
Compress-Zlib
I am very new to Perl and would apprciate anyone's input on... (1 Reply)
Hi All,
I need some help to effectively parse out a subset of results from a big results file.
Below is an example of the text file. Each block that I need to parse starts with "reading sequence file 10.codon" (next block starts with another number) and ends with **p-Value(s)**. I have given... (1 Reply)
Hi All,
I need some help to effectively parse out a subset of results from a big results file.
Below is an example of the text file. Each block that I need to parse starts with "Output of GENE for sequence file 100.fasta" (next block starts with another number). I have given the portion of... (8 Replies)
I'm looking for some suggestions on a command line utility I am making. I would like to use 'find' to locate some files and index the results so the user can choose the correct results from the list and push that input into an open command. A simple example below:
... (2 Replies)