The Bit-Manipulation Operators : Bitwise Operator « Language Basics « Perl
- Perl
- Language Basics
- Bitwise Operator
The Bit-Manipulation Operators
The following bit-manipulation operators are supported in Perl:
The & (bitwise AND) operator
The | (bitwise OR) operator
The ^ (bitwise XOR or "exclusive or") operator
The ~ (bitwise NOT) operator
The << (left shift) and >> (right shift) operators
Related examples in the same category