title: Perl printing hashref values
body: <p>I cant seem to print values of hashref.</p>
  
  <p>I can print keys as such:</p>
  
  <pre><code> foreach (sort keys %$wss_href) {
       print "$_\n";
   }
  </code></pre>
  
  <p>I would like to print the values as well for each key:
  so i tried:</p>
  
  <pre><code> print "$_ =&gt; $wss_href{$_}\n";
   print "$_ =&gt; $%$wss_href{$_}\n";
  </code></pre>
  
  <p>and it keeps giving me an error <code>Global symbol "%wss_href" requires explicit package name</code> </p>
  
  <p>how do i deference hashref to get the values for each key?</p>