line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::AuthenticationResults::Header::AuthServID; |
2
|
|
|
|
|
|
|
# ABSTRACT: Class modelling the AuthServID part of the Authentication Results Headerr |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
require 5.008; |
5
|
28
|
|
|
28
|
|
177
|
use strict; |
|
28
|
|
|
|
|
59
|
|
|
28
|
|
|
|
|
850
|
|
6
|
28
|
|
|
28
|
|
152
|
use warnings; |
|
28
|
|
|
|
|
60
|
|
|
28
|
|
|
|
|
1081
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.20230112'; # VERSION |
8
|
28
|
|
|
28
|
|
157
|
use Carp; |
|
28
|
|
|
|
|
71
|
|
|
28
|
|
|
|
|
1649
|
|
9
|
|
|
|
|
|
|
|
10
|
28
|
|
|
28
|
|
207
|
use base 'Mail::AuthenticationResults::Header::Base'; |
|
28
|
|
|
|
|
77
|
|
|
28
|
|
|
|
|
12987
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
158
|
|
|
158
|
|
2499
|
sub _HAS_VALUE{ return 1; } |
14
|
|
|
|
|
|
|
|
15
|
77
|
|
|
77
|
|
193
|
sub _HAS_CHILDREN{ return 1; } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _ALLOWED_CHILDREN { |
18
|
40
|
|
|
40
|
|
72
|
my ( $self, $child ) = @_; |
19
|
40
|
100
|
|
|
|
118
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; |
20
|
26
|
100
|
|
|
|
117
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; |
21
|
15
|
100
|
|
|
|
52
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; |
22
|
6
|
|
|
|
|
57
|
return 0; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub build_string { |
26
|
43
|
|
|
43
|
1
|
111
|
my ( $self, $header ) = @_; |
27
|
|
|
|
|
|
|
|
28
|
43
|
|
|
|
|
156
|
$header->string( $self->stringify( $self->value() ) ); |
29
|
43
|
|
|
|
|
88
|
foreach my $child ( @{ $self->children() } ) { |
|
43
|
|
|
|
|
145
|
|
30
|
8
|
|
|
|
|
22
|
$header->space( ' ' ); |
31
|
|
|
|
|
|
|
#$header->concat( $child->as_string_prefix() ); |
32
|
8
|
|
|
|
|
25
|
$child->build_string( $header ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
43
|
|
|
|
|
106
|
return; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |