title: Traversing Array of Hashes in perl
body: <p>I have a structure as below:</p>
  
  <pre><code>my $var1 = [{a=&gt;"B", c=&gt;"D"}, {E=&gt;"F", G=&gt;"H"}];
  </code></pre>
  
  <p>Now I want to traverse the first hash and the elements in it.. How can I do it?</p>
  
  <p>When I do a dumper of <code>$var1</code> it gives me <code>Array</code> and when on <code>@var1</code> it says a hash.</p>