title: perl accessing multidimensional arrays
body: <p>I'm using the Perl <code>TMDB</code> module</p>
  
  <p>How would I get the elements in the example from the code below so</p>
  
  <p><code>my $width = '1000'</code> and <code>my $file_path = "/yDIVWFJqFLIeS8E1R6GG9uwPMS3.jpg"</code></p>
  
  <pre><code>my @images = $movie-&gt;images;
  
  # print " &lt;p&gt;backdrops &lt;/p&gt;";
  print OUT JSON::to_json(\@images) ; ## Dump.txt below
  
  foreach my $image (@images) {
     #print $movie-&gt;cast;
     my $backdrops = $image-&gt;{backdrops};
     my $posters = $image-&gt;{posters};      
     #print " &lt;p&gt;backdrops" . JSON::to_json(\@backdrops) . "&lt;/p&gt;";
  
       foreach my $backdrop ($image{backdrops}) {
           my $width = $backdrop-&gt;{width};
           my $file_path= $backdrop-&gt;{file_path};
           print " &lt;p&gt;backdrops &lt;/p&gt;";
           print "&lt;div&gt;width : $width &lt;br /&gt;$file_path : $file_path &lt;/div&gt;";  
       }
  }
  </code></pre>
  
  <p>Sample of Dump.txt</p>
  
  <pre><code>[{
    "posters":
      [{"vote_average":5.89446589446589,"aspect_ratio":0.67,"width":1000,"file_path":"/yDIVWFJqFLIeS8E1R6GG9uwPMS3.jpg","vote_count":11,.....}],
    "id":60304,
    "backdrops":
      [{"vote_average":5.49206349206349,"aspect_ratio":1.78,"width":1920,"file_path":"/4wieJ74tXkZDMiiwJ6yMr7LgSpR.jpg","vote_count":11,.....}]
  }]
  </code></pre>