line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::AuthenticationResults::Header::Entry; |
2
|
|
|
|
|
|
|
# ABSTRACT: Class modelling Main Entry parts of the Authentication Results Header |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
require 5.008; |
5
|
27
|
|
|
27
|
|
1667
|
use strict; |
|
27
|
|
|
|
|
51
|
|
|
27
|
|
|
|
|
830
|
|
6
|
27
|
|
|
27
|
|
133
|
use warnings; |
|
27
|
|
|
|
|
51
|
|
|
27
|
|
|
|
|
1170
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.20210915'; # VERSION |
8
|
27
|
|
|
27
|
|
160
|
use Scalar::Util qw{ refaddr }; |
|
27
|
|
|
|
|
73
|
|
|
27
|
|
|
|
|
1104
|
|
9
|
27
|
|
|
27
|
|
157
|
use Carp; |
|
27
|
|
|
|
|
54
|
|
|
27
|
|
|
|
|
1334
|
|
10
|
|
|
|
|
|
|
|
11
|
27
|
|
|
27
|
|
181
|
use base 'Mail::AuthenticationResults::Header::Base'; |
|
27
|
|
|
|
|
67
|
|
|
27
|
|
|
|
|
5573
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
696
|
|
|
696
|
|
2016
|
sub _HAS_KEY{ return 1; } |
15
|
668
|
|
|
668
|
|
3953
|
sub _HAS_VALUE{ return 1; } |
16
|
990
|
|
|
990
|
|
1974
|
sub _HAS_CHILDREN{ return 1; } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub _ALLOWED_CHILDREN { |
19
|
406
|
|
|
406
|
|
624
|
my ( $self, $child ) = @_; |
20
|
406
|
100
|
|
|
|
861
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; |
21
|
308
|
100
|
|
|
|
879
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; |
22
|
13
|
100
|
|
|
|
37
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; |
23
|
6
|
|
|
|
|
58
|
return 0; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |