« blib/lib/Mail/AuthenticationResults.pm
↑ Summary
lib/Mail/AuthenticationResults/Token/QuotedString.pm »
| 1 | package Mail::AuthenticationResults::Header::Entry; | ||||||||||
| 2 | # ABSTRACT: Class modelling Main Entry parts of the Authentication Results Header | ||||||||||
| 3 | |||||||||||
| 4 | 31 | require 5.008; | |||||||||
| 5 | 31 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 31 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 31 | our $VERSION = '2.20261029'; # VERSION | |||||||||
| 8 | 31 | ▶ | use Scalar::Util qw{ refaddr }; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 31 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 31 | ▶ | use base 'Mail::AuthenticationResults::Header::Base'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | |||||||||||
| 14 | 2820 | ▶ | sub _HAS_KEY{ return 1; } | ||||||||
|
Subroutine
_HAS_KEY: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 2775 | ▶ | sub _HAS_VALUE{ return 1; } | ||||||||
|
Subroutine
_HAS_VALUE: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 5837 | ▶ | sub _HAS_CHILDREN{ return 1; } | ||||||||
|
Subroutine
_HAS_CHILDREN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | 9794 | ▶ | sub _ALLOWED_CHILDREN { | ||||||||
|
Subroutine
_ALLOWED_CHILDREN: called CC=4 SCAR=13.9
| |||||||||||
| 19 | 9794 | my ( $self, $child ) = @_; | |||||||||
| 20 | 9794 | ▶ | return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | 7010 | ▶ | return 1 if ref $child eq 'Mail::AuthenticationResults::Header::SubEntry'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | 13 | ▶ | return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 6 | return 0; | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 31 | 1; | |||||||||
| 27 | |||||||||||
| 28 | __END__ | ||||||||||