Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: tieChapter 5
Function Reference
Next: Reference: time


tied variable

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.

Previous: Reference: tiePerl in a NutshellNext: Reference: time
Reference: tieBook IndexReference: time