my $set_a = Set::Array->new(1, 2, 3); my $set_b = Set::Array->new(3, 4, 5); $set_a->union($set_b);