Basic HTML version of Foils prepared Sept 20 97

Foil 57 tie() and untie() Perl Functions - III

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


1 FETCH -- get variable value
2 STORE -- store variable value
3 DESTROY -- destroy variable
4 Tied hashes also should provide
  • EXISTS (implements exists)
  • DELETE (delete one key) CLEAR (clear out all keys)
  • FIRSTKEY() and together with
  • NEXTKEY() system implements keys() and each()
5 Note User provides these functions as they depend on particular behind the scenes manipulations
6 Note standard classes provide ability to specify user routines BEGIN and END to be run at beginning and end of invocation of a class

in Table To:


© 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