Wouldn't Perverse have some kind of random (via unsafePerformIO of course!) comparison functionality? ;-)