Seems to do the right thing to me...$foo = "baz"; $bar = "foo"; print unpack("B*", $foo); print unpack("B*", $bar); print unpack("B*", ($bar ^ $foo)); __END__ 011000100110000101111010 011001100110111101101111 000001000000111000010101
thor
In reply to Re: Re: Re: Mod-2 add 2 binary files
by thor
in thread Mod-2 add 2 binary files
by tperdue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |