Mega Code Archive

 
Categories / Perl / Language Basics
 

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