Mail::AuthenticationResults::Header::Base(3) | User Contributed Perl Documentation | Mail::AuthenticationResults::Header::Base(3) |
Mail::AuthenticationResults::Header::Base - Base class for modelling parts of the Authentication Results Header
version 1.20200824.1
Set of classes representing the various parts and sub parts of Authentication Results Headers.
Header AuthServID Version Comment SubEntry Entry Comment Entry Comment SubEntry Comment Entry SubEntry SubEntry Group Entry Comment SubEntry Comment Entry SubEntry
Return a new instance of this class
Set the key for this instance.
Croaks if $key is invalid.
Return the current key for this instance.
Croaks if this instance type can not have a key.
Set the value for this instance.
Munges the value to remove invalid characters before setting.
This method also removes some value characters when their inclusion would be likely to break simple parsers.
Set the value for this instance.
Croaks if the value contains invalid characters.
Returns the current value for this instance.
Returns $value with stringify rules applied.
Returns a listref of this instances children.
Croaks if this instance type can not have children.
Removes the parent for this instance.
Croaks if this instance does not have a parent.
Sets the parent for this instance to the supplied object.
Croaks if the relationship between $parent and $self is not valid.
Returns the parent object for this instance.
Removes $child as a child of this instance.
Croaks if the relationship between $child and $self is not valid.
Adds $child as a child of this instance.
Croaks if the relationship between $child and $self is not valid.
Returns the top Header object and depth of this child
Add the prefix to as_string for this object when calledas a child of another objects as_string method call.
Return this instance as a JSON serialised string
Returns this instance as a string.
Build a string using the supplied Mail::AuthenticationResults::FoldableHeader object.
Apply search rules in $search to this instance and return a Mail::AuthenticationResults::Header::Group object containing the matches.
$search is a HASHREF with the following possible key/value pairs
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 |