Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.155 Tie::Hash, Tie::StdHashChapter 8
Standard Modules
Next: 8.157 Tie::Scalar, Tie::StdScalar
 

8.156 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.


Previous: 8.155 Tie::Hash, Tie::StdHashPerl in a NutshellNext: 8.157 Tie::Scalar, Tie::StdScalar
8.155 Tie::Hash, Tie::StdHashBook Index8.157 Tie::Scalar, Tie::StdScalar

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.