Problems? Is your data what you think it is? | |
PerlMonks |
Re: bitwise string operator questionby Abigail-II (Bishop) |
on Aug 07, 2003 at 13:58 UTC ( [id://281896]=note: print w/replies, xml ) | Need Help?? |
String XOR does a bitwise XOR on a character by character
bases. The bitwise representation of j is
01101010. The bitwise representation of a space
is 00100000. XORing those gives you
01001010, the bitwise representation of J.
And no, this is not a coincidence.
Abigail
In Section
Seekers of Perl Wisdom
|
|