in reply to Bit operations for beginners
I just have to be difficult, it's the way I am:
There are 4 bit operations, and, or, xor and inverse
It's been shown already in this thread, but not said yet that there are actually more than 4 bit operations. 'and', 'or', 'xor', and 'inverse' are the common ones used in Perl (and most of the programming languages that have crossed my path) and in fact any bit operator can be created using those - they're a complete set or something (actually, still complete without 'xor'); but technically they aren't the only four bit operators.
(Good work, by the way!) ++