Basic HTML version of Foils prepared Sept 20 97

Foil 56 tie() and untie() Perl Functions - II

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


tie VARIABLE, CLASSNAME, LIST
VARIABLE is a scalar, array or hash to be enchanted
Note a given type of tie can have several variables tied which differ by their initial conditions which are specified in LIST which is handed to constructor
The CLASSNAME is a module which must have some special ENCHANTED routines defined -- these are
constructors TIESCALAR() TIEARRAY() or TIEHASH() for three variable types respectively and further functions to define operational access to variables which are listed on following foil



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998