1Email::MIME::Encodings(U3s)er Contributed Perl DocumentatEimoanil::MIME::Encodings(3)
2
3
4
6 Email::MIME::Encodings - A unified interface to MIME encoding and
7 decoding
8
10 version 1.315
11
13 use Email::MIME::Encodings;
14 my $encoded = Email::MIME::Encodings::encode(base64 => $body);
15 my $decoded = Email::MIME::Encodings::decode(base64 => $encoded);
16
17 If a third argument is given, it is the encoding to which to fall back.
18 If no valid codec can be found (considering both the first and third
19 arguments) then an exception is raised.
20
22 This module simply wraps "MIME::Base64" and "MIME::QuotedPrint" so that
23 you can throw the contents of a "Content-Transfer-Encoding" header at
24 some text and have the right thing happen.
25
26 "MIME::Base64", "MIME::QuotedPrint", "Email::MIME".
27
29 · Simon Cozens <simon@cpan.org>
30
31 · Casey West <casey@geeknest.com>
32
33 · Ricardo SIGNES <rjbs@cpan.org>
34
36 This software is copyright (c) 2004 by Simon Cozens and Casey West.
37
38 This is free software; you can redistribute it and/or modify it under
39 the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.30.1 2020-01-29 Email::MIME::Encodings(3)