Provides skeletal methods for hash-tying classes.
Tie::Hash provides a new
method,
as well as the methods TIEHASH
, EXISTS
,
and CLEAR
. The Tie::StdHash package inherits from Tie::Hash and
causes tied hashes to behave like standard hashes, allowing for selective
method overloading. It provides most methods required for hashes.
The new
method is provided
as backup in case a class has no TIEHASH
method.
To write your own tied hashes, the methods listed here are required. See the perltie manpage for more detailed information and for examples.
Copyright © 2001 O'Reilly & Associates. All rights reserved.