title: Default argument values in subroutines
body: <p>I don't know how to set default arguments for subroutines. Here is what I considered:</p>
  
  <pre><code>sub hello {
    print @_ || "Hello world";
  }
  </code></pre>
  
  <p>That works fine for if all you needed was one argument. How would you set default values for multiple arguments? </p>
  
  <p>I was going to do this:</p>
  
  <pre><code>sub hello {
    my $say = $_[0] || "Hello";
    my $to  = $_[1] || "World!";
    print "$say $to";
  }
  </code></pre>
  
  <p>But that's a lot of work... There must be an easier way; possibly a best practice?</p>