ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП |
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы. |
tietie variable, classname, list Binds a variable to a package class, classname, that will provide
the implementation for the variable.
Any additional arguments (list) are
passed to the "new" method of the class (meaning A class implementing a hash should provide the following methods: A class implementing an ordinary array should provide the following methods:TIEHASH $class, LIST DESTROY $self FETCH $self, $key STORE $self, $key, $value DELETE $self, $key EXISTS $self, $key FIRSTKEY $self NEXTKEY $self, $lastkey A class implementing a scalar should provide the following methods:TIEARRAY $classname, LIST DESTROY $self FETCH $self, $subscript STORE $self, $subscript, $value UnlikeTIESCALAR $classname, LIST DESTROY $self FETCH $self, STORE $self, $value dbmopen , the tie function will not
use or require a module
for you - you need to do that explicitly yourself. |