logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

Marc Bradshaw <marc@marcbradshaw.net>

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.

Name

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

Version

version 2.20231031

See Also