line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::DMARC::Report::Aggregate::Record::Identifiers; |
2
|
|
|
|
|
|
|
our $VERSION = '1.20210927'; |
3
|
12
|
|
|
12
|
|
86
|
use strict; |
|
12
|
|
|
|
|
28
|
|
|
12
|
|
|
|
|
366
|
|
4
|
12
|
|
|
12
|
|
63
|
use warnings; |
|
12
|
|
|
|
|
23
|
|
|
12
|
|
|
|
|
301
|
|
5
|
|
|
|
|
|
|
|
6
|
12
|
|
|
12
|
|
62
|
use Carp; |
|
12
|
|
|
|
|
24
|
|
|
12
|
|
|
|
|
3592
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
17
|
|
|
17
|
0
|
63
|
my ( $class, @args ) = @_; |
10
|
17
|
50
|
|
|
|
65
|
croak "invalid arguments" if @args % 2; |
11
|
17
|
|
|
|
|
63
|
my %args = @args; |
12
|
17
|
|
|
|
|
53
|
my $self = bless {}, $class; |
13
|
17
|
|
|
|
|
61
|
foreach my $key ( keys %args ) { |
14
|
45
|
|
|
|
|
178
|
$self->$key( $args{$key} ); |
15
|
|
|
|
|
|
|
} |
16
|
17
|
|
|
|
|
101
|
return $self; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub envelope_to { |
20
|
29
|
100
|
|
29
|
0
|
215
|
return $_[0]->{envelope_to} if 1 == scalar @_; |
21
|
15
|
|
|
|
|
68
|
return $_[0]->{envelope_to} = $_[1]; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub envelope_from { |
25
|
30
|
100
|
|
30
|
0
|
143
|
return $_[0]->{envelope_from} if 1 == scalar @_; |
26
|
16
|
|
|
|
|
63
|
return $_[0]->{envelope_from} = $_[1]; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub header_from { |
30
|
31
|
100
|
|
31
|
0
|
201
|
return $_[0]->{header_from} if 1 == scalar @_; |
31
|
17
|
|
|
|
|
69
|
return $_[0]->{header_from} = $_[1]; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |