O => 1; 1 => 0 is the truth table for exclusive disjunction; ie. XOR:
print @a;; 1 1 0 0 1 1 0 0 0 0 0 1 1 1 0 0 $_ ^= 1 for @a;; print @a;; 0 0 1 1 0 0 1 1 1 1 1 0 0 0 1 1
In reply to Re: Logical Not not working!!!
by BrowserUk
in thread Logical Not not working!!!
by baski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |