Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: picking multiple random elements out of an array

by Bishma (Beadle)
on Feb 04, 2002 at 03:47 UTC ( [id://143153]=note: print w/replies, xml ) Need Help??


in reply to Re: picking multiple random elements out of an array
in thread picking multiple random elements out of an array

The shuffle will work well, I never thought of that. The other was what I was trying to avoid because I didn't want to have to check for duplicates.
  • Comment on Re: Re: picking multiple random elements out of an array

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2025-03-24 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (64 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.