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