[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Love & Hate shenanigans




> > 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".

print "uPper"&"_____";	# UPPER
print "LowER"&"     ";	# lower

ANDing with "_" forces it to uppercase

ORing with " "  forces lowercase




==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe