Tie::RefHash
Provides the ability to use references as hash keys after you’ve tied a hash variable to the module:
use Tie::RefHash; tie hashvariable, 'Tie::RefHash', list; untie hashvariable;
Uses the TIEHASH interface and provides the same methods.
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.