MIME::Parser::Reader(3pm)

MIME::Parser::Reader3pm

A line-oriented reader for a mime::parser

Usage

This module is used internally by MIME::Parser; you probably don't need to be looking at it at all. But just in case...

    ### Create a top-level reader, where chunks end at EOF:
    $rdr = MIME::Parser::Reader->new();
    ### Spawn a child reader, where chunks also end at a boundary:
    $subrdr = $rdr->spawn->add_boundary($bound);
    ### Spawn a child reader, where chunks also end at a given string:
    $subrdr = $rdr->spawn->add_terminator($string);
    ### Read until boundary or terminator:
    $subrdr->read_chunk($in, $out);

Overview

A line-oriented reader which can deal with virtual end-of-stream defined by a collection of boundaries.

Warning: this is a private class solely for use by MIME::Parser. This class has no official public interface

Releases

13 releases since Debian 3.0 (Woody); the text changed 11 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10–11
  10. 12
  11. 13
  12. Arch

From perl-mime-tools 5.518-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.