1MIME::Parser::Reader(3)User Contributed Perl DocumentatioMnIME::Parser::Reader(3)
2
3
4

NAME

6       MIME::Parser::Reader - a line-oriented reader for a MIME::Parser
7

SYNOPSIS

9       This module is used internally by MIME::Parser; you probably don't need
10       to be looking at it at all.  But just in case...
11
12           ### Create a top-level reader, where chunks end at EOF:
13           $rdr = MIME::Parser::Reader->new();
14
15           ### Spawn a child reader, where chunks also end at a boundary:
16           $subrdr = $rdr->spawn->add_boundary($bound);
17
18           ### Spawn a child reader, where chunks also end at a given string:
19           $subrdr = $rdr->spawn->add_terminator($string);
20
21           ### Read until boundary or terminator:
22           $subrdr->read_chunk($in, $out);
23

DESCRIPTION

25       A line-oriented reader which can deal with virtual end-of-stream
26       defined by a collection of boundaries.
27
28       Warning: this is a private class solely for use by MIME::Parser.  This
29       class has no official public interface
30

SEE ALSO

32       MIME::Tools, MIME::Parser
33
34
35
36perl v5.34.0                      2022-01-21           MIME::Parser::Reader(3)
Impressum