title: How to iterate over multilevel hash in perl
body: <pre><code>my $app = "info";
  my %records;
  for($i = 0; $i&lt;5; $i++)
  {
   push@{$records{$app}{"id"}},$i;
   push@{$records{$app}{"score"}}, $i+4;
  }
  </code></pre>
  
  <p>so there are 5 ids [0,1,2,3,4,5] and 5 scores .my question is how to iterate over each id and corresponding score ...please help me ..basically i want to print the result in this way</p>
  
  <pre><code>id score
  0   4
  1   5
  2   6
  3   7
  4   8 
  5   9
  </code></pre>