title: Passing two or more arrays to a Perl subroutine
body: <p>I am having trouble passing and reading arguments inside subroutine which is expected to have two arrays.</p>
  
  <pre><code>sub two_array_sum { # two_array_sum ( (1 2 3 4), (2, 4, 0, 1) ) -&gt; (3, 6, 3, 5)
    # I would like to use parameters @a and @b as simply as possible
  }
  
  # I would like to call two_array_sum here and pass two arrays, @c and @d
  </code></pre>
  
  <p>I have seen and tried several examples from the web, but none of them worked for me.</p>