in reply to Random distribution
I'd start with an 1-dim array defined as @start_array = ('a' .. 'z'), and then shuffle it using Algorith::Numerical::Shuffle. Then you can break it into the 2-dim array.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
:(){ :|:&};:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Random distribution
by ChrisS (Monk) on Oct 24, 2003 at 19:22 UTC | |
by Abigail-II (Bishop) on Oct 24, 2003 at 20:00 UTC | |
by hardburn (Abbot) on Oct 24, 2003 at 20:06 UTC |