huskey has asked for the wisdom of the Perl Monks concerning the following question:
What I need is to give a list of members a random number selected from an array of numbers. For example if there were 200 members in my list, each member would get a randomly selected number between 1 and 200, and once a member had that number it would be removed from the array of numbers, so that each member has a unique random number. Does that make sense? What would be the easiest way to do this?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: random number
by traveler (Parson) on Dec 13, 2002 at 08:30 UTC | |
Re: random number
by BrowserUk (Patriarch) on Dec 13, 2002 at 03:53 UTC | |
Re: random number
by insensate (Hermit) on Dec 13, 2002 at 04:08 UTC | |
by BrowserUk (Patriarch) on Dec 13, 2002 at 04:22 UTC | |
by I0 (Priest) on Dec 14, 2002 at 23:35 UTC | |
by BrowserUk (Patriarch) on Dec 15, 2002 at 00:19 UTC | |
by sauoq (Abbot) on Dec 13, 2002 at 23:40 UTC | |
by huskey (Beadle) on Dec 14, 2002 at 04:53 UTC |
Back to
Seekers of Perl Wisdom