Ilmari Karonen wrote: > However, there are some nice ways in which ASCII characters behave in > XOR operations. In particular, XORing a letter with a space flips the > case of that letter, so ("foo" ^ " ") eq "Foo". And capital letters XORed with '@' give the corresponding control character (this algorithm is used, I believe, internally in Perl to convert "\cD" type representation to the control character, and is responsible for having "\c?" have an ord() larger than ord('?')). Cheers, Philip -- Philip Newton <Philip.Newton@datenrevision.de> All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate. ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe