Email::MIME::Encodings - A unified interface to MIME encoding and decoding
use Email::MIME::Encodings; my $encoded = Email::MIME::Encodings::encode(base64 => $body); my $decoded = Email::MIME::Encodings::decode(base64 => $encoded);
If a third argument is given, it is the encoding to which to fall back. If no valid codec can be found (considering both the first and third arguments) then an exception is raised.
This module simply wraps MIME::Base64 and MIME::QuotedPrint so that you can throw the contents of a Content-Transfer-Encoding header at some text and have the right thing happen.
MIME::Base64
MIME::QuotedPrint
Content-Transfer-Encoding
This module is maintained by the Perl Email Project.
http://emailproject.perl.org/wiki/Email::MIME::Encodings
Simon Cozens, simon@cpan.org
simon@cpan.org
MIME::Base64, MIME::QuotedPrint, Email::MIME.
Email::MIME
Copyright 2004, Casey West <casey@geeknest.com>.
Copyright 2003 by Simon Cozens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Email::MIME::Encodings, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::MIME::Encodings
CPAN shell
perl -MCPAN -e shell install Email::MIME::Encodings
For more information on module installation, please visit the detailed CPAN module installation guide.