title: perl - creating a hash from two arrays
body: <p>I have 2 arrays of the following form:</p>
  
  <pre><code>root rhino root root root root root root root root root root domainte root
  stam rhino jam onetwo domante ftpsi jay testwp contra raul vnod foos raul bruce
  </code></pre>
  
  <p>Notice that they are of equal length (and always will be). I want to create a hash such that there is one single key called <code>root</code> whose values are the corresponding values from the second array. Basically, the elements of the first array need to be the keys and the elements from the second array need to be the values, but keys need to be unique and values could be an array. </p>
  
  <p>How do I go about achieving this result? Sorry, quite new to to Perl.</p>