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