Re: A new golf "Matrix" has started

[email protected] (Mtv Europe) 13 Apr 2004 12:11:27 -0000
Newsgroups perl.golf
Message-ID <[email protected]>
Hello Riley!

[email protected] (Riley) wrote:

> -lp /.+()(?{$n|=(${"@-"}.=$&)x=-index$&,0})^/}{$_=length$n
> 
> I get 56 instead of 16 on the first test in the testsuite for the above
> solution.

What's your perl version?

> Also, can anyone tell me why the following doesn't work?
> 
> -lp0 /
> /,$_&=$'./1+(?{$;|=$&x$^C})^/while++$^C;$_=length$

$; is not empty by default.

-- 
Mtv Europe