http://www.perlmonks.org?node_id=513743


in reply to Re: To Hash or to Array--Uniqueness is the question.
in thread To Hash or to Array--Uniqueness is the question.

Tie::RefHash can be used to allow references to be used as keys. I use it to allow the use of filehandles as a key, without losing their magic.