You want to read Mastering Algorithms with Perl. Chapter 6 is about Sets. It also discusses the following Set Modules from CPAN:
In reply to Re: set theory w/hashes? arrays? done quickly?
by clemburg
in thread set theory w/hashes? arrays? done quickly?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |