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