Next 2.1 Operators Prev

Operators

High to low precedence:

::
[]
**
-(unary) +(unary) ! ~
*  /  %
+  -
<<  >>
&
|  ^
>  >=  <  <=
<=> == === != =~ !~
&&
||
.. ...
= += -=...
not
and or
Most are methods except these built-in constructs:
= .. ... ! not && and || or != !~ += -=...

Next Ruby for Perl programmers Prev