summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorRoderick Schertler <roderick@gate.net>1996-02-07 12:11:21 -0500
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-02-07 12:11:21 -0500
commitf3cbc33408507a5467234f328be95028ae8ee3d6 (patch)
tree41a83ab469271fd8dc5bb42a73067696bd2a8cb4 /pod
parentaf131e482fcca9737a77b6e1e76aea95f1e07760 (diff)
downloadperl-f3cbc33408507a5467234f328be95028ae8ee3d6.tar.gz
tied() documentation
Here's some documentation for tied(), there doesn't seem to be any in 2b3. Also included is a small comment in the FIRSTKEY() hash example of perltie.pod, I had to look twice when I first saw the code and I thought others might benefit from the explanation.
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod9
1 files changed, 8 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index a8579106b5..7017c8f5df 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -149,7 +149,7 @@ do, import, no, package, require, use
=item Keywords related to classes and object-orientedness
-bless, dbmclose, dbmopen, package, ref, tie, untie, use
+bless, dbmclose, dbmopen, package, ref, tie, tied, untie, use
=item Low-level socket functions
@@ -3024,6 +3024,13 @@ Unlike dbmopen(), the tie() function will not use or require a module
for you--you need to do that explicitly yourself. See L<DB_File>
or the F<Config> module for interesting tie() implementations.
+=item 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.) Returns the undefined value if VARIABLE isn't tied to a
+package.
+
=item time
Returns the number of non-leap seconds since 00:00:00 UTC, January 1,