in reply to Re^2: When the Best Solution Isn't
in thread When the Best Solution Isn't
sub shuffle { my @r = map rand, 0 .. $#_; @_[sort { $r[$a] <=> $r[$b] } 0 .. $#_] = @_; }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re^2: When the Best Solution Isn't
by diotalevi (Canon) on Sep 23, 2002 at 13:18 UTC | |
by japhy (Canon) on Sep 23, 2002 at 14:12 UTC | |
by diotalevi (Canon) on Sep 23, 2002 at 14:40 UTC | |
|
Faster than the speed of sound (was: When the Best Solution Isn't)
by Aristotle (Chancellor) on Sep 23, 2002 at 17:02 UTC | |
by blakem (Monsignor) on Sep 23, 2002 at 17:58 UTC | |
by Aristotle (Chancellor) on Sep 23, 2002 at 18:04 UTC | |
by blakem (Monsignor) on Sep 23, 2002 at 18:12 UTC | |
by demerphq (Chancellor) on Apr 16, 2003 at 23:10 UTC | |
by Aristotle (Chancellor) on Apr 18, 2003 at 11:00 UTC |