To write your own tied hashes, the methods listed here are required. See the perltie manpage for more detailed information and for examples.
TIESCALAR classname, list
Constructor. Associates new scalar instance with class classname. listrepresents any additional arguments needed to complete the association.
tie $scalar, classname, list
Frees storage associated with the tied scalar referenced by this. Permits a class to perform specific actions when an instance is destroyed. Rarely needed.
Retrieves value of the tied scalar referenced by this.
STORE this, value
Stores value in the tied scalar referenced by this.
Copyright © 2002 O'Reilly & Associates. All rights reserved.