sub comp { local $_ = $_[0] ^ $_[1]; return s/([^\x00])\1//g==1 && !tr/\x00/1/c; } [download]
In reply to Re: Re: Detecting transpositions by Cine in thread Detecting transpositions by BrowserUk