Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: Random but non-repeating array loop

by Masem (Monsignor)
on Jan 18, 2002 at 21:39 UTC ( #139878=note: print w/replies, xml ) Need Help??

in reply to Re: Random but non-repeating array loop
in thread Random but non-repeating array loop

...which has been also been implemented by Abigail's Algorithm::Numerical::Shuffle module. eg:
use Algorithm::Numerical::Shuffle; foreach my $element (shuffle @array) { ... }

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://139878]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2016-10-22 02:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.