Mail::AuthenticationResults::Header::Base - Base class for modelling parts of the Authentication Results Header
version 1.20180113
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.
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 is this instance type can not have children.
Sets the parent for this instance to the supplied object.
Croaks is the relationship between $parent and $self is not valid.
Returns the parent object for this instance.
Adds $child as a child of this instance.
Croaks is the relationship between $child and $self is not valid.
Returns this instance as a string.
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
Match if the instance key matches the supplied value (string or regex)
Match if the instance value matches the supplied value (string or regex)
Match is the instance class typs matches the supplied value. This is a lowercase version of the class type, (comment,entry,subentry,etc))
Marc Bradshaw <marc@marcbradshaw.net>
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.
To install Mail::AuthenticationResults, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::AuthenticationResults
CPAN shell
perl -MCPAN -e shell install Mail::AuthenticationResults
For more information on module installation, please visit the detailed CPAN module installation guide.