1Mail::AuthenticationResUusletrs:C:oTnotkreinb(u3t)ed PerMlaiDlo:c:uAmuetnhteanttiiocnationResults::Token(3)
2
3
4
6 Mail::AuthenticationResults::Token - Base class for modelling
7 AuthenticationResults Header parts
8
10 version 1.20200331.1
11
13 Classes representing a tokenised Authentication Results Header, used in
14 parsing
15
17 new( $header, $args )
18 Return a new Token object parsed from the given $header string using
19 $args
20
21 $args value depend on the subclass of Token used, possible types are
22
23 Mail::AuthenticationResults::Token::Assignment an assignment operator
24 Mail::AuthenticationResults::Token::Comment a comment
25 Mail::AuthenticationResults::Token::QuotedString a quoted string
26 Mail::AuthenticationResults::Token::Separator a separator
27 Mail::AuthenticationResults::Token::String a string
28
29 new_from_value( $value )
30 Create a new token from the given value
31
32 value()
33 Return the value of the current Token instance.
34
35 remainder()
36 Return the remainder of the header string after parsing the current
37 token out.
38
39 parse()
40 Run the parser on the current $header and set up value() and
41 remainder().
42
43 is()
44 Return the type of token we are.
45
47 Marc Bradshaw <marc@marcbradshaw.net>
48
50 This software is copyright (c) 2020 by Marc Bradshaw.
51
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.32.0 2020-07-M2a8il::AuthenticationResults::Token(3)