Re: AW: mini-golf: first differing position

Xavier Noria <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
On Apr 21, 2004, at 10:27, Xavier Noria wrote:

> Sure thank you, then looks like
>
>     {$x ne$y&&$x=~/./sg&$y=~/\G\Q$&/g&&redo;$n=$-[0]}
>
> is the shortest solution so far (49).

Just for the record, using the trick in the last post by Terje we get 
48:

     {$x ne$y&&$x=~/./sg&$y=~/\G\Q$&/g&&redo;($n)=@-}

I'd bet that's way long nevertheless.

-- fxn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.