Operators to be used on variable are more or less the less than in PERL, except that the '=' sign is replaced by .
But the following operator will change the value of the variable on which they are used .
Operator
PERL equivalent
what it does
=
affectation
+=
increment
-=
decrememt
*=
multiplication
/=
division
&=
AND operation
=
regexp operation
.=
strings concatenation
And more generally, every operator in PERL with '=' in it can be use by just replacing the '=' character by .
When operating with variables for anything but affectation, every classical operator can be used ( +, *, - , / , .... ) .