Next Tricks of the Wizards 54

How to Tie

        tie $VAR => PACKAGE, arguments;
        tie @VAR => PACKAGE, arguments;
        tie %VAR => PACKAGE, arguments;
        tie *VAR => PACKAGE, arguments;
        PACKAGE->TIESCALAR(arguments);
        PACKAGE->TIEARRAY(arguments);
        PACKAGE->TIEHASH(arguments);
        PACKAGE->TIEHANDLE(arguments);


Next Copyright © 2003 M. J. Dominus