Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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


Comment on Re: Re: Random but non-repeating array loop
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-27 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls