in reply to require Math::XOR

require Math::XOR; print Math::XOR::xor_buf("ab", "cd");
seems to work fine.