On Thu, 24 Oct 2002, Simon Wilcox wrote: > If anyone can explain to me how the algorithm works and how to make it > scale to best-of-n games I would be most grateful. > > The problem is described here: > > http://perl.plover.com/~alias/list.cgi?mss:12:200210:mflioldnngfgmfnlfljf
It's moderately traditional. Do we want discussion on list or should I do this privately? S. -- Shevek I am the Borg. sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print"$x\n";eval qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;&{$x}(\$x);};};} foreach my $i (3..65535) { &{'2'}($i); }