start page | rating of books | rating of authors | reviews | copyrights

Programming Perl

Programming PerlSearch this book
Previous: 3.2.171 tie Chapter 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 tie Programming Perl Next: 3.2.173 time
3.2.171 tie Book Index 3.2.173 time