title: How can I fetch a hash ref from array of hashes by one of its values?
body: <p>I have a array of hashes, each hash containing same keys but values are unique. On the basis of particular value, I need to store hash ref.</p>
  
  <p>See the below example to understand it properly:</p>
  
  <pre><code>my @aoaoh = (
              { a =&gt; 1, b =&gt; 2 },
              { a =&gt; 3, b =&gt; 4 },
              { a =&gt; 101, b =&gt; 102 },
              { a =&gt; 103, b =&gt; 104 },
      );  
  </code></pre>
  
  <p>Now I will check if a hash key <code>a</code> contains value <code>101</code>. If yes then I need to store the whole hash ref.</p>
  
  <p>How to do that?</p>