summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-01-23 17:32:17 +0100
committerNicholas Clark <nick@ccl4.org>2012-02-18 13:16:51 +0100
commit7c919445cfcc2c4d1bef333c82db17a883e65464 (patch)
tree85c5dcc5f820f876cc1bbb4d5a956e7bc5b8c491
parent44c19e202831fce7100a4c8f20ec5a48cd0b6350 (diff)
downloadperl-7c919445cfcc2c4d1bef333c82db17a883e65464.tar.gz
Add 4 functions missing from perlfunc.pod's 'Perl Functions by Category'.
C<readline> added to 'Input and output functions' Documentation on readline was added by commit 8490252049bf42d3 in Aug 1997. That commit also added readpipe without adding it to a category group, an omission that was fixed by commit 4319b00c03e6a517 in Nov 2011. C<sysseek> added to 'Functions for fixed-length data or records' Documentation on sysseek was added by commit 137443ea0a858c43 in Apr 1997, which implemented sysseek. C<prototype> added to both 'Keywords related to the control flow of your Perl program' and 'Miscellaneous functions', as Pod::Functions places it in both. Commit da0045b73af6f504 in Jul 1996, included 'Add documentation for new "prototype" operator', but only added the main documentation, not an entry in a category group. C<lock> added to 'Miscellaneous functions'. Documentation on lock was added by commit 19799a22062ef658 in May 1999.
-rw-r--r--pod/perlfunc.pod13
1 files changed, 7 insertions, 6 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 8d97258a8d..c98c905c9a 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -147,9 +147,9 @@ X<I/O> X<input> X<output> X<dbm>
C<binmode>, C<close>, C<closedir>, C<dbmclose>, C<dbmopen>, C<die>, C<eof>,
C<fileno>, C<flock>, C<format>, C<getc>, C<print>, C<printf>, C<read>,
-C<readdir>, C<rewinddir>, C<say>, C<seek>, C<seekdir>, C<select>, C<syscall>,
-C<sysread>, C<sysseek>, C<syswrite>, C<tell>, C<telldir>, C<truncate>,
-C<warn>, C<write>
+C<readdir>, C<readline> C<rewinddir>, C<say>, C<seek>, C<seekdir>, C<select>,
+C<syscall>, C<sysread>, C<sysseek>, C<syswrite>, C<tell>, C<telldir>,
+C<truncate>, C<warn>, C<write>
C<say> is available only if the C<"say"> feature is enabled or if it is
prefixed with C<CORE::>. The C<"say"> feature is enabled automatically
@@ -157,7 +157,8 @@ with a C<use v5.10> (or higher) declaration in the current scope.
=item Functions for fixed-length data or records
-C<pack>, C<read>, C<syscall>, C<sysread>, C<syswrite>, C<unpack>, C<vec>
+C<pack>, C<read>, C<syscall>, C<sysread>, C<sysseek>, C<syswrite>, C<unpack>,
+C<vec>
=item Functions for filehandles, files, or directories
X<file> X<filehandle> X<directory> X<pipe> X<link> X<symlink>
@@ -173,7 +174,7 @@ X<control flow>
C<caller>, C<continue>, C<die>, C<do>,
C<dump>, C<eval>, C<evalbytes> C<exit>,
C<__FILE__>, C<goto>, C<last>, C<__LINE__>, C<next>, C<__PACKAGE__>,
-C<redo>, C<return>, C<sub>, C<__SUB__>, C<wantarray>
+C<prototype>, C<redo>, C<return>, C<sub>, C<__SUB__>, C<wantarray>
C<evalbytes> is only available with with the C<"evalbytes"> feature (see
L<feature>) or if prefixed with C<CORE::>. C<__SUB__> is only available
@@ -203,7 +204,7 @@ with a C<use v5.10> (or higher) declaration in the current scope.
=item Miscellaneous functions
C<defined>, C<dump>, C<eval>, C<evalbytes>,
-C<formline>, C<local>, C<my>, C<our>,
+C<formline>, C<local>, C<lock>, C<my>, C<our>, C<prototype>,
C<reset>, C<scalar>, C<state>, C<undef>, C<wantarray>
=item Functions for processes and process groups