Yes, that is an excellent point. I forgot to mention in the OP that I have only been using the idiom for sets of strings and integers. If I were storing references, I would be using a different system entirely -- or select an indexable attribute and make a separate hash out of that.
--
print "Just Another Perl Adept\n";
In reply to Re^4: Idiom: hashes as sets
by vrk
in thread Idiom: hashes as sets
by vrk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |