title: How do you access function parameters in Perl?
body: <p>In C++ I would do something like this:</p>
  
  <pre class="lang-c++ prettyprint-override"><code>void some_func(const char *str, ...);
  some_func("hi %s u r %d", "n00b", 420);
  </code></pre>
  
  <p>In PHP I would do like this:</p>
  
  <pre class="lang-php prettyprint-override"><code>function some_func()
  {
      $args = func_get_args();
  }
  some_func($holy, $moly, $guacomole);
  </code></pre>
  
  <p>How do I do that in Perl?</p>
  
  <pre class="lang-perl prettyprint-override"><code>sub wut {
      # What goes here?
  }
  </code></pre>