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

Can you demonstrate some sample, representative data, please?


Dave

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

Replies are listed 'Best First'.
Re^2: Easiest way to brute force generate all combinations of items within a hash?
by nat47 (Sexton) on Mar 01, 2015 at 22:32 UTC
    Absolutely, some ratio are blank, I didn't type them in
    my %list = ( 'player1' => {rating=> 10,weight=> 60, ratio=> .166}, 'player2' => {rating=> 12, weight=> 100, ratio=> .12}, 'player3' => {rating=> 4,weight=> 23, ratio=> .173913043}, 'player3' => {rating=> 2,weight=> 142, ratio=>}, 'player4' => {rating=> 3, weight=> 119,ratio=>}, 'player5' => {rating=> 1, weight=> 14, ratio=>}, );