I've got the following structure (in reality, it is much bigger):
$param_hash = {
          'param1' => [0, 1],
          'param2' => [0, 1, 2],
          'param3' => 0,
        };
And I'd like to print all the possible combinations of different parameters in the line, like this:
param1='0' param2='0' param3='0'
param1='0' param2='1' param3='0'
param1='0' param2='2' param3='0'
...
I understand that an iteration is needed (like this one), but I just cannot get it to work. How should I do this?
Or maybe I just should use another structure for storing parameters values scope?
 
     
     
     
    