Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Easiest way to brute force generate all combinations of items within a hash?

by LanX (Archbishop)
on Mar 02, 2015 at 00:19 UTC ( #1118337=note: print w/replies, xml ) Need Help??


in reply to Easiest way to brute force generate all combinations of items within a hash?

> Easiest way ...

Just nested loops, and better use an array if your players are numbered.

see also How do I post a question effectively?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re: Easiest way to brute force generate all combinations of items within a hash?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2020-02-25 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (110 votes). Check out past polls.

    Notices?