The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

CLASS INHERITANCE

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

SYNOPSIS

 See Mail::Message::Field

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. The Mail::Message::Field::Fast packages is faster (as the name predicts).

METHODS

Initiation

new DATA

See Mail::Message::Field::new()

The Field

clone

See Mail::Message::Field::clone()

isStructured

See Mail::Message::Field::isStructured()

Access to the Field

addresses

See Mail::Message::Field::addresses()

attribute NAME [, VALUE]

See Mail::Message::Field::attribute()

body

See Mail::Message::Field::body()

comment [STRING]

See Mail::Message::Field::comment()

content

See Mail::Message::Field::content()

folded [ARRAY-OF-LINES]

See Mail::Message::Field::folded()

name

See Mail::Message::Field::name()

nrLines

See Mail::Message::Field::nrLines()

See Mail::Message::Field::print()

size

See Mail::Message::Field::size()

toDate TIME

See Mail::Message::Field::toDate()

toInt

See Mail::Message::Field::toInt()

toString

See Mail::Message::Field::toString()

wellformedName [STRING]

See Mail::Message::Field::wellformedName()

Reading and Writing [internals]

newNoCheck NAME, BODY, COMMENT, [FOLDED]

See Mail::Message::Field::newNoCheck()

setWrapLength CHARS

See Mail::Message::Field::setWrapLength()

SEE ALSO

A good start to read is Mail::Box-Overview. More documentation and a mailinglist are available from the project's website at http://perl.overmeer.net/mailbox/.

AUTHOR

Mark Overmeer (mark@overmeer.net) with the help of many.

VERSION

This code is beta, version 2.021.

Copyright (c) 2001-2002 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.