Ricardo SIGNES > Email-MIME-Kit > Email::MIME::Kit::Role::KitReader

Download:
Email-MIME-Kit-3.000001.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 3.000001   Source  

NAME ^

Email::MIME::Kit::Role::KitReader - things that can read kit contents

VERSION ^

version 3.000001

IMPLEMENTING ^

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

Classes implementing this role must provide a get_kit_entry method. It will be called with one parameter, the name of a path to an entry in the kit. It should return a reference to a scalar holding the contents (as octets) of the named entry. If no entry is found, it should raise an exception.

A method called get_decoded_kit_entry is provided. It behaves like get_kit_entry, but assumes that the entry for that name is stored in UTF-8 and will decode it to text before returning.

AUTHOR ^

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: