---
name: "Mail::AuthenticationResults::Token"
section: "3pm"
platform: "linux"
package: "perl-mail-authenticationresults"
version: "2.20260216-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::AuthenticationResults::Token"
---

# Mail::AuthenticationResults::Token(3pm)

Base class for modelling AuthenticationResults Header parts

## NAME

Mail::AuthenticationResults::Token - Base class for modelling AuthenticationResults Header parts

## VERSION

version 2.20260216

## DESCRIPTION

Classes representing a tokenised Authentication Results Header, used in parsing

## METHODS

### new( $header, $args )

Return a new Token object parsed from the given `$header` string using `$args`

`$args` value depend on the subclass of Token used, possible types are

Mail::AuthenticationResults::Token::Assignment an assignment operator Mail::AuthenticationResults::Token::Comment a comment Mail::AuthenticationResults::Token::QuotedString a quoted string Mail::AuthenticationResults::Token::Separator a separator Mail::AuthenticationResults::Token::String a string

### new\_from\_value( $value )

Create a new token from the given value

### value()

Return the value of the current Token instance.

### remainder()

Return the remainder of the header string after parsing the current token out.

### parse()

Run the parser on the current `$header` and set up **value()** and **remainder()**.

### is()

Return the type of token we are.

## AUTHOR

Marc Bradshaw \<marc@marcbradshaw.net\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
