title: Perl - determine if an array is a subset of another array
body: <p>I have the following code.  Can <code>isSubset</code> be written simpler without add-on CPAN modules?</p>
  
  <pre><code>my @possibleNames = ("adam", "chelsea");
  my @actualNames = ("adam", "chucky", "chelsea");
  
  sub isSubset {
      my ($littleSet, $bigSet) = @_;
      foreach (@{$littleSet}) {
          return 0 unless ($_ ~~ @{$bigSet});
      }
      return 1;
  }
  
  printf("%s\n", (isSubset(\@possibleNames, \@actualNames) ? "yes" : "no"));
  </code></pre>