1Email::MIME::Kit::Role:U:sKeirtRCeoandterri(b3u)ted PerlEmDaoiclu:m:eMnItMaEt:i:oKnit::Role::KitReader(3)
2
3
4
6 Email::MIME::Kit::Role::KitReader - things that can read kit contents
7
9 version 3.000006
10
12 This role also performs Email::MIME::Kit::Role::Component.
13
14 Classes implementing this role must provide a "get_kit_entry" method.
15 It will be called with one parameter, the name of a path to an entry in
16 the kit. It should return a reference to a scalar holding the contents
17 (as octets) of the named entry. If no entry is found, it should raise
18 an exception.
19
20 A method called "get_decoded_kit_entry" is provided. It behaves like
21 "get_kit_entry", but assumes that the entry for that name is stored in
22 UTF-8 and will decode it to text before returning.
23
25 Ricardo Signes <rjbs@cpan.org>
26
28 This software is copyright (c) 2018 by Ricardo Signes.
29
30 This is free software; you can redistribute it and/or modify it under
31 the same terms as the Perl 5 programming language system itself.
32
33
34
35perl v5.30.1 2020-01-2E9mail::MIME::Kit::Role::KitReader(3)