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.000007
10
12 This library should run on perls released even a long time ago. It
13 should work on any version of perl released in the last five years.
14
15 Although it may work on older versions of perl, no guarantee is made
16 that the minimum required version will not be increased. The version
17 may be increased for any reason, and there is no promise that patches
18 will be accepted to lower the minimum required perl.
19
21 This role also performs Email::MIME::Kit::Role::Component.
22
23 Classes implementing this role must provide a "get_kit_entry" method.
24 It will be called with one parameter, the name of a path to an entry in
25 the kit. It should return a reference to a scalar holding the contents
26 (as octets) of the named entry. If no entry is found, it should raise
27 an exception.
28
29 A method called "get_decoded_kit_entry" is provided. It behaves like
30 "get_kit_entry", but assumes that the entry for that name is stored in
31 UTF-8 and will decode it to text before returning.
32
34 Ricardo Signes <rjbs@cpan.org>
35
37 This software is copyright (c) 2023 by Ricardo Signes.
38
39 This is free software; you can redistribute it and/or modify it under
40 the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.36.0 2023-01-2E0mail::MIME::Kit::Role::KitReader(3)