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
|
27
|
|
|
27
|
|
173
|
use strict; |
|
27
|
|
|
|
|
50
|
|
|
27
|
|
|
|
|
733
|
|
6
|
27
|
|
|
27
|
|
126
|
use warnings; |
|
27
|
|
|
|
|
49
|
|
|
27
|
|
|
|
|
1035
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.20210915'; # VERSION |
8
|
27
|
|
|
27
|
|
198
|
use Carp; |
|
27
|
|
|
|
|
69
|
|
|
27
|
|
|
|
|
1544
|
|
9
|
|
|
|
|
|
|
|
10
|
27
|
|
|
27
|
|
189
|
use base 'Mail::AuthenticationResults::Header::Base'; |
|
27
|
|
|
|
|
62
|
|
|
27
|
|
|
|
|
11472
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
152
|
|
|
152
|
|
2136
|
sub _HAS_VALUE{ return 1; } |
14
|
|
|
|
|
|
|
|
15
|
74
|
|
|
74
|
|
198
|
sub _HAS_CHILDREN{ return 1; } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _ALLOWED_CHILDREN { |
18
|
40
|
|
|
40
|
|
63
|
my ( $self, $child ) = @_; |
19
|
40
|
100
|
|
|
|
126
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; |
20
|
26
|
100
|
|
|
|
69
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; |
21
|
15
|
100
|
|
|
|
67
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; |
22
|
6
|
|
|
|
|
63
|
return 0; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub build_string { |
26
|
42
|
|
|
42
|
1
|
98
|
my ( $self, $header ) = @_; |
27
|
|
|
|
|
|
|
|
28
|
42
|
|
|
|
|
166
|
$header->string( $self->stringify( $self->value() ) ); |
29
|
42
|
|
|
|
|
73
|
foreach my $child ( @{ $self->children() } ) { |
|
42
|
|
|
|
|
152
|
|
30
|
8
|
|
|
|
|
21
|
$header->space( ' ' ); |
31
|
|
|
|
|
|
|
#$header->concat( $child->as_string_prefix() ); |
32
|
8
|
|
|
|
|
23
|
$child->build_string( $header ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
42
|
|
|
|
|
101
|
return; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |