Next | Tricks of the Wizards | 54 |
Basic syntax:
tie $VAR => PACKAGE, arguments; tie @VAR => PACKAGE, arguments; tie %VAR => PACKAGE, arguments; tie *VAR => PACKAGE, arguments;
Turn into
PACKAGE->TIESCALAR(arguments); PACKAGE->TIEARRAY(arguments); PACKAGE->TIEHASH(arguments); PACKAGE->TIEHANDLE(arguments);
The TIEXXX function must construct and return an object to be associated
Next | Copyright © 2003 M. J. Dominus |