man > Mail::Message::Field::Flex

๐Ÿ“› NAME

Mail::Message::Field::Flex - one line of a message header

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Create field from lineMail::Message::Field::Flex->new('Subject: Hello')Parse a raw header line
Create field with attributesMail::Message::Field::Flex->new('Content-Type', 'text/plain', charset => 'utf-8')Set MIME type with attributes
Get body text$field->bodyReturn unfolded body
Get attributes$field->attributesReturn hash of attributes
Unfold body$field->unfoldedBodyRemove line folding
Clone a field$field->cloneDeep copy
Convert to date$field->toDateParse date field
Study structured content$field->studyParse complex field
Strip comments/whitespace$field->stripCFWSRemove CFWS from field

๐Ÿงฌ INHERITANCE

Mail::Message::Field::Flex is a Mail::Message::Field is a Mail::Reporter

๐Ÿ“‹ SYNOPSIS

(No content)

๐Ÿ“ DESCRIPTION

This is the flexible implementation of a field: it can easily be extended because it stores its data in a hash and the constructor (new) and initializer (init) are split. However, you pay the price in performance. Mail::Message::Field::Fast is faster (as the name predicts).

Extends "DESCRIPTION" in Mail::Message::Field.

โšก OVERLOADED

Extends "OVERLOADED" in Mail::Message::Field.

๐Ÿ› ๏ธ METHODS

Extends "METHODS" in Mail::Message::Field.

๐Ÿ”จ Constructors

Extends "Constructors" in Mail::Message::Field.

๐Ÿ“œ The Field

Extends "The field" in Mail::Message::Field.

๐Ÿท๏ธ Access to the Name

Extends "Access to the name" in Mail::Message::Field.

๐Ÿ“ฆ Access to the Body

Extends "Access to the body" in Mail::Message::Field.

๐Ÿ“ฌ Access to the Content

Extends "Access to the content" in Mail::Message::Field.

๐Ÿ”ง Other Methods

Extends "Other methods" in Mail::Message::Field.

โš™๏ธ Internals

Extends "Internals" in Mail::Message::Field.

โš ๏ธ Error Handling

Extends "Error handling" in Mail::Message::Field.

๐Ÿงน Cleanup

Extends "Cleanup" in Mail::Message::Field.

๐Ÿ” DETAILS

Extends "DETAILS" in Mail::Message::Field.

๐Ÿฉบ DIAGNOSTICS

โš ๏ธ Warning: Field content is not numerical: $content
The numeric value of a field is requested (for instance the "Lines" or "Content-Length" fields should be numerical), however the data contains weird characters.

โš ๏ธ Warning: Illegal character in field name $name
A new field is being created which does contain characters not permitted by the RFCs. Using this field in messages may break other e-mail clients or transfer agents, and therefore mutulate or extinguish your message.

โŒ Error: Package $package does not implement $method.
Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package.

๐Ÿ“š SEE ALSO

This module is part of Mail-Message distribution version 3.012, built on February 11, 2022. Website: http://perl.overmeer.net/CPAN/

๐Ÿ“œ LICENSE

Copyrights 2001-2022 by [Mark Overmeer <markov AT cpan.org>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

Mail::Message::Field::Flex
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿงฌ INHERITANCE ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION โšก OVERLOADED ๐Ÿ› ๏ธ METHODS
๐Ÿ”จ Constructors ๐Ÿ“œ The Field ๐Ÿท๏ธ Access to the Name ๐Ÿ“ฆ Access to the Body ๐Ÿ“ฌ Access to the Content ๐Ÿ”ง Other Methods โš™๏ธ Internals โš ๏ธ Error Handling ๐Ÿงน Cleanup
๐Ÿ” DETAILS ๐Ÿฉบ DIAGNOSTICS ๐Ÿ“š SEE ALSO ๐Ÿ“œ LICENSE

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-20 17:58 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^