This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f0b5fd1
)
Documentation on getting a FORMAT ref from a GLOB was missing from
author
Steve Peters
<steve@fisharerojo.org>
Fri, 21 Oct 2005 21:54:01 +0000
(21:54 +0000)
committer
Steve Peters
<steve@fisharerojo.org>
Fri, 21 Oct 2005 21:54:01 +0000
(21:54 +0000)
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
pod/perlref.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlref.pod
b/pod/perlref.pod
index
96cd941
..
21f15d4
100644
(file)
--- 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