home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


8.155 Tie::Hash, Tie::StdHash

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.


Previous: 8.154 Tie::Handle Perl in a Nutshell Next: 8.156 Tie::RefHash
8.154 Tie::Handle Book Index 8.156 Tie::RefHash

Library Navigation Links

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