« blib/lib/Mail/AuthenticationResults/Token.pm
↑ Summary
lib/Mail/AuthenticationResults/Header/Entry.pm »
| 1 | package Mail::AuthenticationResults::Token::Space; | ||
| 2 | # ABSTRACT: Class for modelling AuthenticationResults Header parts detected as spaces | ||
| 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::Token'; | ||
| 11 | |||
| 12 | |||
| 13 | sub is { | ||
| 14 | my ( $self ) = @_; | ||
| 15 | return 'space'; | ||
| 16 | } | ||
| 17 | |||
| 18 | sub new { | ||
| 19 | my ($self) = @_; | ||
| 20 | croak 'Space tokens are not used in parsing'; | ||
| 21 | } | ||
| 22 | |||
| 23 | sub parse { | ||
| 24 | my ($self) = @_; | ||
| 25 | croak 'Space tokens are not used in parsing'; | ||
| 26 | } | ||
| 27 | |||
| 28 | sub remainder { | ||
| 29 | my ($self) = @_; | ||
| 30 | croak 'Space tokens are not used in parsing'; | ||
| 31 | } | ||
| 32 | |||
| 33 | |||
| 34 | 1; | ||
| 35 | |||
| 36 | __END__ |