1Mail::AuthenticationResUusletrs:C:oFnotlrdiMababuiltlee:Hd:eAaPudeterhrle(n3Dt)oiccuamteinotnaRteisounlts::FoldableHeader(3)
2
3
4
6 Mail::AuthenticationResults::FoldableHeader - Class for modelling a
7 foldable header string
8
10 version 1.20200331.1
11
13 Class representing a foldable Authentication Results header string
14
16 new( $args )
17 Return a new instance of this class
18
19 eol()
20 Return the current eol marker.
21
22 set_eol( $eol )
23 Set the current eol marker.
24
25 indent()
26 Return the current base indent string.
27
28 Defaults to 4 spaces.
29
30 set_indent( $indent )
31 Set the current base indent string.
32
33 sub_indent()
34 Return the current fold indent string. This is added to the current
35 indent for folded headers.
36
37 Defaults to 2 spaces.
38
39 set_sub_indent( $indent )
40 Set the current fold indent string.
41
42 try_fold_at()
43 Return the length of header line for triggering a fold attempt
44
45 set_try_fold_at( $length )
46 Set the length of header line for triggering a fold attempt.
47
48 Defaults to 800.
49
50 force_fold_at()
51 Return the length of header line for forcing a fold.
52
53 set_force_fold_at( $length )
54 Set the length of header line for forcing a fold.
55
56 Defaults to 900.
57
58 string( $string )
59 Add $string to this header string
60
61 In this context, string can include a quoted string, or a string with
62 assignment operators embedded within it. A string is a unit of data
63 which we do not want to break with a fold.
64
65 space( $string )
66 Add a space $string to this header string
67
68 In this context, a space can be a single space, multiple spaces, or a
69 folding space. A space is a unit of data which would be an ideal spot
70 to insert a fold.
71
72 separator( $string )
73 Add a separator $string to this header string
74
75 In this context, a separator is the ; string or the / string.
76
77 comment( $string )
78 Add a comment $string to this header string
79
80 In this context, a comment is a comment string. A comment is a unit of
81 data which we do not want to break with a fold.
82
83 assignment( $string )
84 Add an assignment $string to this header string
85
86 In this context, as assignment is the = string.
87
88 as_string()
89 Return the current header string
90
92 Marc Bradshaw <marc@marcbradshaw.net>
93
95 This software is copyright (c) 2020 by Marc Bradshaw.
96
97 This is free software; you can redistribute it and/or modify it under
98 the same terms as the Perl 5 programming language system itself.
99
100
101
102perl v5.32.0 Ma2i0l2:0:-A0u7t-h2e8nticationResults::FoldableHeader(3)