Mail::AuthenticationResults::Token(3) User Contributed Perl Documentation Mail::AuthenticationResults::Token(3)

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

version 1.20200824.1

Classes representing a tokenised Authentication Results Header, used in parsing

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

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.

Marc Bradshaw <marc@marcbradshaw.net>

This software is copyright (c) 2020 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.

2020-08-24 perl v5.34.0