Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tied

Returns the underlying object of a tied variable.

Returns the object that was associated with the variable by a previous tie call. Returns undef if the variable is not tied. Commonly used to access the tie object’s methods directly.

Implementation status: Stub. Always returns undef because tie is not yet implemented.

Synopsis

my $obj = tied %hash;
if (tied $scalar) { ... }   # check if variable is tied

See Also

tie, untie