tied
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.