Perl Programming/Keywords/tied
The tied
keyword
edit
tied
returns a reference to the object underlying .
Syntax
edit tied VARIABLE
<ǃ--
Examples
edit The code
$time = time;
print $time . " s, " . $time/60 . " min, " . $time/3600 . " h\n";
print $time/86400 . " d, " . $time/2629743.84 . " months, " . $time/31556926.08 . " y\n";
returns on Windows something like:
1424097849 s, 23734964.15 min, 395582.735833333 h 16482.6139930556 d, 541.534816942475 months, 45.1279014118729 y
-->