Полезная информация

Programming Perl

Programming PerlSearch this book
Previous: 3.2.171 tieChapter 3
Functions
Next: 3.2.173 time
 

3.2.172 tied

tied VARIABLE

This function returns a reference to the object underlying VARIABLE (the same value that was originally returned by the tie call which bound the variable to a package.) It returns the undefined value if VARIABLE isn't tied to a package. So, for example, you can use:

ref tied %hash

to find out which package your hash is currently tied to. (Presuming you've forgotten.)


Previous: 3.2.171 tieProgramming PerlNext: 3.2.173 time
3.2.171 tieBook Index3.2.173 time