The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Set::Scalar;

print "1..2\n";

my @a = qw(One Two Three);     
my @b = qw(Four Five Six);
 
my $ssa = Set::Scalar->new(@a);
my $ssb = Set::Scalar->new(@b);
 
print "not " unless $ssa;
print "ok 1\n";

print "not " if $ssa->intersection($ssb);
print "ok 2\n";