Name
tied
Synopsis
tied variable
Returns a reference to the object underlying
variable
(the same value that was
originally returned by the tie
call that 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.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.