This is why you want to use a CPAN module if the items in your set are not strings or numbers.
If they are and you do not need any advanced set operations, then a module would be an overkill.
In reply to Re^2: Idiom: hashes as sets
by Jenda
in thread Idiom: hashes as sets
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |