title: Is there simple syntax for declaring multiple keys with one value in perl?
body: <p>Is there a simple way to declare a hash with multiple keys which all point to the same value in perl?</p>
  
  <p>Here is something similar to what I'm looking for (I don't actually know if this works or not):</p>
  
  <pre><code>my $hash = {
               a, b, c =&gt; $valA,
               d, e, f =&gt; $valB
             };
  </code></pre>
  
  <p>such that....</p>
  
  <pre><code>print $hash-&gt;{a}; #prints $valA
  print $hash-&gt;{b}; #prints $valA
  print $hash-&gt;{c}; #prints $valA
  print $hash-&gt;{d}; #prints $valB
  print $hash-&gt;{e}; #prints $valB
  print $hash-&gt;{f}; #prints $valB
  </code></pre>