in reply to Re: Re: Random but non-repeating array loop
in thread Random but non-repeating array loop
Or wherever you want to place the parentheses.while (($ch = splice(@chars, rand(@chars), 1))) { print "$ch"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re4: Random but non-repeating array loop
by blakem (Monsignor) on Jan 19, 2002 at 03:44 UTC |