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
|
28
|
|
|
28
|
|
1891
|
use strict; |
|
28
|
|
|
|
|
56
|
|
|
28
|
|
|
|
|
847
|
|
6
|
28
|
|
|
28
|
|
143
|
use warnings; |
|
28
|
|
|
|
|
70
|
|
|
28
|
|
|
|
|
1148
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.20230112'; # VERSION |
8
|
28
|
|
|
28
|
|
166
|
use Scalar::Util qw{ refaddr }; |
|
28
|
|
|
|
|
64
|
|
|
28
|
|
|
|
|
1162
|
|
9
|
28
|
|
|
28
|
|
163
|
use Carp; |
|
28
|
|
|
|
|
64
|
|
|
28
|
|
|
|
|
1514
|
|
10
|
|
|
|
|
|
|
|
11
|
28
|
|
|
28
|
|
180
|
use base 'Mail::AuthenticationResults::Header::Base'; |
|
28
|
|
|
|
|
115
|
|
|
28
|
|
|
|
|
6011
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
784
|
|
|
784
|
|
2314
|
sub _HAS_KEY{ return 1; } |
15
|
740
|
|
|
740
|
|
4414
|
sub _HAS_VALUE{ return 1; } |
16
|
1104
|
|
|
1104
|
|
2242
|
sub _HAS_CHILDREN{ return 1; } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub _ALLOWED_CHILDREN { |
19
|
458
|
|
|
458
|
|
684
|
my ( $self, $child ) = @_; |
20
|
458
|
100
|
|
|
|
998
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; |
21
|
340
|
100
|
|
|
|
965
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; |
22
|
13
|
100
|
|
|
|
38
|
return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; |
23
|
6
|
|
|
|
|
58
|
return 0; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |