Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[oiskuu]: Prepare your piano with tuna and your cat will show you some love.
thezip has a sudden compusion to dance the tango...
[robby_dobby]: Likewise! I haven't seen a lot of people with HAs back where I come from, so I figured it might be the same around here too...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2017-11-17 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?