NAME

Sieve::Generator::Element::Num - a Sieve numeric literal

VERSION

version 0.003

DESCRIPTION

A Num renders a non-negative integer, optionally followed by a size suffix (K, M, or G), as a Sieve number literal per RFC 5228 section 2.4.1.

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

value

This attribute holds the non-negative integer value.

suffix

This attribute holds an optional size suffix: K, M, or G (case insensitive on input, always rendered uppercase). If not provided, no suffix is appended.

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.