Email::...::Header(3)
π NAME π
okay bestie, welcome to the Email::...::Header(3) page β User Contributed Perl Documentation, and fr fr this module is Email::MIME::Header: literally the header of a MIME message. π
π₯ VERSION π₯
This one is version 1.954. slay. β¨
β¨ DESCRIPTION β¨
So this object lowkey behaves like a standard Email::Simple header, but with a few iconic plot twists:
- the
headermethod automatically decodes encoded headers if possible π - the
header_as_objmethod returns an object representation of the header value π - the
header_rawmethod returns the raw header; (read only for now) π«Ά - stringification uses
header_rawrather thanheaderπ
β οΈ okay bestie, important:header_setdoes not do encoding for you, and expects an encoded header. Thus,header_setround-trips withheader_raw, notheader! π Be sure to properly encode your headers withEncode::encode('MIME-Header', $value)before passing them toheader_set. And be sure to use minimal version2.83of Encode module due to bugs in MIME-Header. no cap.
Alternately, if you have Unicode (character) strings to set in headers, use the header_str_set method. π¦
π 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. periodt. π
π AUTHORS π
- Ricardo SIGNES β
cpan@semiotic.systemsπ - Casey West β
casey@geeknest.comπΈ - Simon Cozens β
simon@cpan.orgπ§
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2004 by Simon Cozens and Casey West.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π«Ά
mwah π β cute sign-off from perl v5.42.0, dated 2024-05-03. go decode those headers, bestie! π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Email-MIME 1.954.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms