NAME

Sieve::Generator::Lines::Document - a sequence of Sieve lines forming a complete script or blank line

VERSION

version 0.001

DESCRIPTION

A document is an ordered sequence of things, and renders as a flat sequence of Sieve lines. It serves as the top-level container for a complete Sieve script (when constructed by "sieve" in Sieve::Generator::Sugar) or as an empty separator line (when constructed by "blank" in Sieve::Generator::Sugar).

PERL VERSION

This module is shipped with no promise about what version of perl it will require in the future. In practice, this tends to mean "you need a perl from the last three years," but you can't rely on that. If a new version of perl ship, this software may begin to require it for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

ATTRIBUTES

things

This attribute holds the list of things that make up the document. Each may be a string or an object doing Sieve::Generator::Lines or Sieve::Generator::Text.

METHODS

append

$doc->append(@things);

This method adds the given @things to the end of the document's list.

AUTHOR

Ricardo Signes <rjbs@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.