1PPI::Token::Operator(3)User Contributed Perl DocumentatioPnPI::Token::Operator(3)
2
3
4

NAME

6       PPI::Token::Operator - Token class for operators
7

INHERITANCE

9         PPI::Token::Operator
10         isa PPI::Token
11             isa PPI::Element
12

SYNOPSIS

14         # This is the list of valid operators
15         ++   --   **   !    ~    +    -
16         =~   !~   *    /    %    x
17         <<   >>   lt   gt   le   ge   cmp  ~~
18         ==   !=   <=>  .    ..   ...  ,
19         &    |    ^    &&   ||   //
20         ?    :    **=  +=   -=   .=   *=   /=
21         %=   x=   &=   |=   ^=   <<=  >>=  &&=
22         ||=  //=  <    >    <=   >=   <>   =>   ->
23         and  or   xor  not  eq   ne   <<>>
24

DESCRIPTION

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

METHODS

31       There are no additional methods beyond those provided by the parent
32       PPI::Token and PPI::Element classes.
33

SUPPORT

35       See the support section in the main module.
36

AUTHOR

38       Adam Kennedy <adamk@cpan.org>
39
41       Copyright 2001 - 2011 Adam Kennedy.
42
43       This program is free software; you can redistribute it and/or modify it
44       under the same terms as Perl itself.
45
46       The full text of the license can be found in the LICENSE file included
47       with this module.
48
49
50
51perl v5.30.0                      2019-07-26           PPI::Token::Operator(3)
Impressum