Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by LanX (Cardinal)
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 surveying the Monastery: (6)
As of 2020-09-28 22:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (144 votes). Check out past polls.

    Notices?