title: How to print an array that it looks like a hash
body: <p>I am new to Perl, and have to write a code which takes contents of a file into and array and print the output that it looks like a <strong>hash.</strong>  Here is an example entry:</p>
  
  <pre><code>my %amino_acids = (F =&gt; ["Phenylalanine", "Phe", ["TTT", "TTC"]])
  </code></pre>
  
  <p>Out put should be exactly in above format.</p>
  
  <p>Lines of Files are like this...</p>
  
  <pre><code>"Methionine":"Met":"M":"AUG":"ATG"
  "Phenylalanine":"Phe":"F":"UUU, UUC":"TTT, TTC"
  "Proline":"Pro":"P":"CCU, CCC, CCA, CCG":"CCT, CCC, CCA, CCG"
  </code></pre>
  
  <p>I have to take last codons after semicolon and ignore the first group.</p>