1Email::MIME::Kit::Role:U:sMearniCfoensttrDiebsuEutmgeaadirleP:re:(rM3lI)MDEo:c:uKmietn:t:aRtoiloen::ManifestDesugarer(3)
2
3
4

NAME

6       Email::MIME::Kit::Role::ManifestDesugarer - helper for desugaring
7       manifests
8

VERSION

10       version 3.000007
11

PERL VERSION

13       This library should run on perls released even a long time ago.  It
14       should work on any version of perl released in the last five years.
15
16       Although it may work on older versions of perl, no guarantee is made
17       that the minimum required version will not be increased.  The version
18       may be increased for any reason, and there is no promise that patches
19       will be accepted to lower the minimum required perl.
20

IMPLEMENTING

22       This role also performs Email::MIME::Kit::Role::Component.
23
24       This is a role more likely to be consumed than implemented.  It wraps
25       "around" the "read_manifest" method in the consuming class, and
26       "desugars" the contents of the loaded manifest before returning it.
27
28       At present, desugaring is what allows the "type" attribute in
29       attachments and alternatives to be given instead of a "content_type"
30       entry in the "attributes" entry.  In other words, desugaring turns:
31
32         {
33           header => [ ... ],
34           type   => 'text/plain',
35         }
36
37       Into:
38
39         {
40           header => [ ... ],
41           attributes => { content_type => 'text/plain' },
42         }
43
44       More behavior may be added to the desugarer later.
45

AUTHOR

47       Ricardo Signes <rjbs@cpan.org>
48
50       This software is copyright (c) 2023 by Ricardo Signes.
51
52       This is free software; you can redistribute it and/or modify it under
53       the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.36.0                      2E0m2a3i-l0:1:-M2I0ME::Kit::Role::ManifestDesugarer(3)
Impressum