title: Perl help dereferencing a reference to an array of hash references, containing record set data
body: <p>I'm using the a Amazon Perl module that returns a reference to an array of hash references as $record_sets, containing record set data and I'm having a hard time dereferencing it. I can print the data using data dumper but I need to be able to manipulate the data. Below is the documentation provided for the module</p>
  
  <p>Thanks In Advance:</p>
  
  <pre><code>#list_resource_record_sets
  #Lists resource record sets for a hosted zone.
  #Called in scalar context:
  
  $record_sets = $r53-&gt;list_resource_record_sets(zone_id =&gt; '123ZONEID');
  
  #Returns: A reference to an array of hash references, containing record set data. Example:
  
  $record_sets = [
  {
  name =&gt; 'example.com.',
  type =&gt; 'MX'
  ttl =&gt; 86400,
  records =&gt; [
  '10 mail.example.com'
  ]
  },
  {
  name =&gt; 'example.com.',
  type =&gt; 'NS',
  ttl =&gt; 172800,
  records =&gt; [
  'ns-001.awsdns-01.net.',
  'ns-002.awsdns-02.net.',
  'ns-003.awsdns-03.net.',
  'ns-004.awsdns-04.net.'
  ]
  </code></pre>