There are many Perl operators but here are a few of the most common ones:

Arithmetic Operators

Numeric Comparison Operators

String Comparison Operators

(Why do we have separate numeric and string comparisons? Because we don’t have special variable types, and Perl needs to know whether to sort numerically (where 99 is less than 100) or alphabetically (where 100 comes before 99).

Boolean Logic Operators

(and , or and not aren’t just in the above table as descriptions of the operators — they’re also supported as operators in their own right. They’re more readable than the C-style operators, but have different precedence to && and friend.

Miscellaneous Operators

Many operators can be combined with a = as follows:



Operator Precedence and Associativity

Perl operators have the following associativity and precedence, listed from highest precedence to lowest. Operators borrowed from C keep the same precedence relationship with each other, even where C’s precedence is slightly screwy. (This makes learning Perl easier for C folks.) With very few exceptions, these all operate on scalar v
alues only, not array values.

What Do You Think on This ? Say Here