Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Mail::AuthenticationResults::Token

Name Mail::AuthenticationResults::Token
Version 1.20200108
Located at /usr/share/perl5
File /usr/share/perl5/Mail/AuthenticationResults/Token.pm
Is Core No
Search CPAN for this module Mail::AuthenticationResults::Token
Documentation Mail::AuthenticationResults::Token
Module Details Mail::AuthenticationResults::Token


NAME

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


VERSION

version 1.20200108


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

the Mail::AuthenticationResults::Token::Assignment manpage an assignment operator the Mail::AuthenticationResults::Token::Comment manpage a comment the Mail::AuthenticationResults::Token::QuotedString manpage a quoted string the Mail::AuthenticationResults::Token::Separator manpage a separator the Mail::AuthenticationResults::Token::String manpage 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) 2018 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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2021