« blib/lib/Mail/DMARC/Report/Store/SQL/Grammars/PostgreSQL.pm
↑ Summary
blib/lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm »
| 1 | package Mail::DMARC::Report::Aggregate::Record::Identifiers; | ||||||||||
| 2 | 16 | our $VERSION = '2.20260827'; | |||||||||
| 3 | 16 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 16 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 16 | ▶ | use feature 'signatures'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 16 | ▶ | no warnings 'experimental::args_array_with_signatures'; ## no critic (ProhibitNoWarnings) | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 16 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 55 | ▶ | sub new( $class, @args ) { | ||||||||
|
Subroutine
new: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 11 | 55 | ▶ | croak "invalid arguments" if @args % 2; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | 55 | my %args = @args; | |||||||||
| 13 | 55 | my $self = bless {}, $class; | |||||||||
| 14 | 55 | foreach my $key ( keys %args ) { | |||||||||
| 15 | 155 | $self->$key( $args{$key} ); | |||||||||
| 16 | } | ||||||||||
| 17 | 55 | return $self; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 123 | ▶ | sub envelope_to( $self, $value = undef ) { | ||||||||
|
Subroutine
envelope_to: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 21 | 123 | ▶ | return $self->{envelope_to} if @_ == 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | 51 | return $self->{envelope_to} = $value; | |||||||||
| 23 | } | ||||||||||
| 24 | |||||||||||
| 25 | 125 | ▶ | sub envelope_from( $self, $value = undef ) { | ||||||||
|
Subroutine
envelope_from: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 26 | 125 | ▶ | return $self->{envelope_from} if @_ == 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | 53 | return $self->{envelope_from} = $value; | |||||||||
| 28 | } | ||||||||||
| 29 | |||||||||||
| 30 | 130 | ▶ | sub header_from( $self, $value = undef ) { | ||||||||
|
Subroutine
header_from: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 31 | 130 | ▶ | return $self->{header_from} if @_ == 1; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 56 | return $self->{header_from} = $value; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 16 | 1; | |||||||||
| 36 | |||||||||||
| 37 | __END__ | ||||||||||
| 38 | |||||||||||
| 39 | =pod | ||||||||||
| 40 | |||||||||||
| 41 | =head1 NAME | ||||||||||
| 42 | |||||||||||
| 43 | Mail::DMARC::Report::Aggregate::Record::Identifiers - identifiers section of a DMARC aggregate record | ||||||||||
| 44 | |||||||||||
| 45 | =head1 VERSION | ||||||||||
| 46 | |||||||||||
| 47 | version 2.20260827 | ||||||||||
| 48 | |||||||||||
| 49 | =head1 AUTHORS | ||||||||||
| 50 | |||||||||||
| 51 | =over 4 | ||||||||||
| 52 | |||||||||||
| 53 | =item * | ||||||||||
| 54 | |||||||||||
| 55 | Matt Simerson <msimerson@cpan.org> | ||||||||||
| 56 | |||||||||||
| 57 | =item * | ||||||||||
| 58 | |||||||||||
| 59 | Davide Migliavacca <shari@cpan.org> | ||||||||||
| 60 | |||||||||||
| 61 | =item * | ||||||||||
| 62 | |||||||||||
| 63 | Marc Bradshaw <marc@marcbradshaw.net> | ||||||||||
| 64 | |||||||||||
| 65 | =back | ||||||||||
| 66 | |||||||||||
| 67 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 68 | |||||||||||
| 69 | This software is copyright (c) 2026 by Matt Simerson. | ||||||||||
| 70 | |||||||||||
| 71 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 72 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 73 | |||||||||||
| 74 | =cut | ||||||||||