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
|
|
181
|
use strict; |
|
27
|
|
|
|
|
52
|
|
|
27
|
|
|
|
|
766
|
|
6
|
27
|
|
|
27
|
|
122
|
use warnings; |
|
27
|
|
|
|
|
48
|
|
|
27
|
|
|
|
|
1175
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.20210914'; # VERSION |
8
|
27
|
|
|
27
|
|
154
|
use Carp; |
|
27
|
|
|
|
|
47
|
|
|
27
|
|
|
|
|
1605
|
|
9
|
|
|
|
|
|
|
|
10
|
27
|
|
|
27
|
|
196
|
use base 'Mail::AuthenticationResults::Header::Base'; |
|
27
|
|
|
|
|
72
|
|
|
27
|
|
|
|
|
12791
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
152
|
|
|
152
|
|
2140
|
sub _HAS_VALUE{ return 1; } |
14
|
|
|
|
|
|
|
|
15
|
74
|
|
|
74
|
|
208
|
sub _HAS_CHILDREN{ return 1; } |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _ALLOWED_CHILDREN { |
18
|
40
|
|
|
40
|
|
84
|
my ( $self, $child ) = @_; |
19
|
40
|
100
|
|
|
|
122
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; |
20
|
26
|
100
|
|
|
|
71
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; |
21
|
15
|
100
|
|
|
|
46
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; |
22
|
6
|
|
|
|
|
60
|
return 0; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub build_string { |
26
|
42
|
|
|
42
|
1
|
102
|
my ( $self, $header ) = @_; |
27
|
|
|
|
|
|
|
|
28
|
42
|
|
|
|
|
160
|
$header->string( $self->stringify( $self->value() ) ); |
29
|
42
|
|
|
|
|
80
|
foreach my $child ( @{ $self->children() } ) { |
|
42
|
|
|
|
|
140
|
|
30
|
8
|
|
|
|
|
24
|
$header->space( ' ' ); |
31
|
|
|
|
|
|
|
#$header->concat( $child->as_string_prefix() ); |
32
|
8
|
|
|
|
|
24
|
$child->build_string( $header ); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
42
|
|
|
|
|
105
|
return; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |