diff options
author | Zsbán Ambrus <ambrus@math.bme.hu> | 2013-09-10 15:02:56 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-09-16 14:49:42 +1000 |
commit | bf5513e0d04f91b1dcc9eff3abedc8042910ae75 (patch) | |
tree | a518d906e850923c6d3a721838d76051ead16d0d /pod/perlsub.pod | |
parent | 6a67a7970d132af67307ff5a3a833c95d5b092cc (diff) | |
download | perl-bf5513e0d04f91b1dcc9eff3abedc8042910ae75.tar.gz |
[perl #77680] perlsub pointers to sub names used by perl itself
Tony Cook: convert from a diff to a commit
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r-- | pod/perlsub.pod | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 455fa2393a..eac455229f 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -239,8 +239,44 @@ Subroutines whose names are in all upper case are reserved to the Perl core, as are modules whose names are in all lower case. A subroutine in all capitals is a loosely-held convention meaning it will be called indirectly by the run-time system itself, usually due to a triggered event. -Subroutines that do special, pre-defined things include C<AUTOLOAD>, C<CLONE>, -C<DESTROY> plus all functions mentioned in L<perltie> and L<PerlIO::via>. +Subroutines whose name start with a left parenthesis are also reserved the +same way. The following is a list of some subroutines that currently do +special, pre-defined things. + +=over + +=item documented later in this document + +C<AUTOLOAD> + +=item documented in L<perlmod> + +C<CLONE>, C<CLONE_SKIP>, + +=item documented in L<perlobj> + +C<DESTROY> + +=item documented in L<perltie> + +C<BINMODE>, C<CLEAR>, C<CLOSE>, C<DELETE>, C<DESTROY>, C<EOF>, C<EXISTS>, +C<EXTEND>, C<FETCH>, C<FETCHSIZE>, C<FILENO>, C<FIRSTKEY>, C<GETC>, +C<NEXTKEY>, C<OPEN>, C<POP>, C<PRINT>, C<PRINTF>, C<PUSH>, C<READ>, +C<READLINE>, C<SCALAR>, C<SEEK>, C<SHIFT>, C<SPLICE>, C<STORE>, +C<STORESIZE>, C<TELL>, C<TIEARRAY>, C<TIEHANDLE>, C<TIEHASH>, +C<TIESCALAR>, C<UNSHIFT>, C<UNTIE>, C<WRITE> + +=item documented in L<PerlIO::via> + +C<BINMODE>, C<CLEARERR>, C<CLOSE>, C<EOF>, C<ERROR>, C<FDOPEN>, C<FILENO>, +C<FILL>, C<FLUSH>, C<OPEN>, C<POPPED>, C<PUSHED>, C<READ>, C<SEEK>, +C<SETLINEBUF>, C<SYSOPEN>, C<TELL>, C<UNREAD>, C<UTF8>, C<WRITE> + +=item undocumented, used internally by the L<overload> feature + +any starting with C<(> + +=back The C<BEGIN>, C<UNITCHECK>, C<CHECK>, C<INIT> and C<END> subroutines are not so much subroutines as named special code blocks, of which you |