logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Email::MIME::Kit::Role::ManifestDesugarer - helper for desugaring manifests

Author

       Ricardo Signes <cpan@semiotic.systems>

Implementing

       This role also performs Email::MIME::Kit::Role::Component.

       This is a role more likely to be consumed than implemented.  It wraps "around" the "read_manifest" method
       in the consuming class, and "desugars" the contents of the loaded manifest before returning it.

       At present, desugaring is what allows the "type" attribute in attachments and alternatives to be given
       instead of a "content_type" entry in the "attributes" entry.  In other words, desugaring turns:

         {
           header => [ ... ],
           type   => 'text/plain',
         }

       Into:

         {
           header => [ ... ],
           attributes => { content_type => 'text/plain' },
         }

       More behavior may be added to the desugarer later.

Name

       Email::MIME::Kit::Role::ManifestDesugarer - helper for desugaring manifests

Perl Version

       This library should run on perls released even a long time ago.  It should work on any version of perl
       released in the last five years.

       Although it may work on older versions of perl, no guarantee is made that the minimum required version
       will not be increased.  The version may be increased for any reason, and there is no promise that patches
       will be accepted to lower the minimum required perl.

Version

       version 3.000008

See Also