title: Perl array filtering on string
body: <p>I am trying to filter an array that gets a lot of information about DNS records on a BIND9 based DNS server. The ouput looks something like this:</p>
  
  <pre><code>print Dumper(@host_objs);
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>$VAR1 = bless( {
  'internal_updates_view' =&gt; bless( {
  'use_nxdomain_redirect_Addresses' =&gt; 0,
  'match_destinations' =&gt; [],
  'zone' =&gt; test.tld,
  'name' =&gt; test.test.tld,
  *etcetera*
  </code></pre>
  
  <p>How can I make <code>print Dumper(@host_objs);</code> only the lines that contain 'name'?</p>