summaryrefslogtreecommitdiff
path: root/pod/perlref.pod
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-21 21:54:01 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-21 21:54:01 +0000
commitc0bd1adcfa702f7d9a93bc9b7c4b3e9adf29fe4a (patch)
treec8d90fe390326a4ce0d340384acca496f4c539b4 /pod/perlref.pod
parentf0b5fd17259cb6dfa5567118f9c1043a55d1a744 (diff)
downloadperl-c0bd1adcfa702f7d9a93bc9b7c4b3e9adf29fe4a.tar.gz
Documentation on getting a FORMAT ref from a GLOB was missing from
perlref.pod. Thanks for David Wheeler for starting the discussion and Paul Johnson for confirming that it could actually be done. p4raw-id: //depot/perl@25820
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r--pod/perlref.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index 96cd941025..21f15d41eb 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -253,6 +253,7 @@ known as foo).
$coderef = *handler{CODE};
$ioref = *STDIN{IO};
$globref = *foo{GLOB};
+ $formatref = *foo{FORMAT};
All of these are self-explanatory except for C<*foo{IO}>. It returns
the IO handle, used for file handles (L<perlfunc/open>), sockets