title: I can't add a Hash to a Stash in Catalyst
body: <p>I have a hash with some key/value pairs</p>
  
  <pre><code>my %hash = ('key1','value1', 'key2', 'value2');
  </code></pre>
  
  <p>I pass it in the Stash to use it in a html template:</p>
  
  <pre><code>$c-&gt;stash( theHash =&gt; %hash);
  </code></pre>
  
  <p>And then, in the Template, to display the values I think I should use something like</p>
  
  <pre><code>[% theHash.key1 %] #It should display "value1"
  [% theHash.key2 %] #It should display "value2"
  </code></pre>
  
  <p>But it does not work.</p>
  
  <p>It works if I pass values one by one:</p>
  
  <pre><code>$c-&gt;stash( valueOfHash1 =&gt; $hash{'key1'});
  $c-&gt;stash( valueOfHash2 =&gt; $hash{'key2'});
  </code></pre>
  
  <p>And retrieving it as</p>
  
  <pre><code>[% valueOfHash1 %] #It displays "value1"
  [% valueOfHash2 %] #It displays "value2"
  </code></pre>
  
  <p>But the hash will have a lot of values. It does one seems to be a good idea.</p>
  
  <p>What I am missing? Thank you in advance.</p>