1PPI::Token::Operator(3)User Contributed Perl DocumentatioPnPI::Token::Operator(3)
2
3
4
6 PPI::Token::Operator - Token class for operators
7
9 PPI::Token::Operator
10 isa PPI::Token
11 isa PPI::Element
12
14 # This is the list of valid operators
15 ++ -- ** ! ~ + -
16 =~ !~ * / % x
17 << >> lt gt le ge cmp ~~
18 == != <=> . .. ... ,
19 & | ^ && || //
20 ? : = += -= *= .= //=
21 < > <= >= <> => ->
22 and or dor not eq ne
23
25 All operators in PPI are created as "PPI::Token::Operator" objects,
26 including the ones that may superficially look like a PPI::Token::Word
27 object.
28
30 There are no additional methods beyond those provided by the parent
31 PPI::Token and PPI::Element classes.
32
33 Got any ideas for methods? Submit a report to rt.cpan.org!
34
36 See the support section in the main module.
37
39 Adam Kennedy <adamk@cpan.org>
40
42 Copyright 2001 - 2011 Adam Kennedy.
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47 The full text of the license can be found in the LICENSE file included
48 with this module.
49
50
51
52perl v5.16.3 2011-02-26 PPI::Token::Operator(3)