« lib/Mail/AuthenticationResults/Token/QuotedString.pm
↑ Summary
lib/Mail/AuthenticationResults/Token/Separator.pm »
| 1 | package Mail::AuthenticationResults::Header::SubEntry; | ||||||||||
| 2 | # ABSTRACT: Class modelling Sub 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 Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 31 | ▶ | use base 'Mail::AuthenticationResults::Header::Base'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | |||||||||||
| 13 | 11418 | ▶ | sub _HAS_KEY{ return 1; } | ||||||||
|
Subroutine
_HAS_KEY: called CC=1 SCAR=0.0
| |||||||||||
| 14 | 4553 | ▶ | sub _HAS_VALUE{ return 1; } | ||||||||
|
Subroutine
_HAS_VALUE: called CC=1 SCAR=0.0
| |||||||||||
| 15 | 1455 | ▶ | sub _HAS_CHILDREN{ return 1; } | ||||||||
|
Subroutine
_HAS_CHILDREN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | |||||||||||
| 17 | 58 | ▶ | sub _ALLOWED_CHILDREN { | ||||||||
|
Subroutine
_ALLOWED_CHILDREN: called CC=3 SCAR=11.0
| |||||||||||
| 18 | 58 | my ( $self, $child ) = @_; | |||||||||
| 19 | 58 | ▶ | return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Comment'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 12 | ▶ | return 1 if ref $child eq 'Mail::AuthenticationResults::Header::Version'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | 7 | return 0; | |||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | 31 | 1; | |||||||||
| 25 | |||||||||||
| 26 | __END__ | ||||||||||