Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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 - mneylon-pm@masemware.com || "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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://139878]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2016-12-08 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.