summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-02-22 14:00:41 +0100
committerNicholas Clark <nick@ccl4.org>2012-03-13 10:07:24 +0100
commite9c3f2ce63e32f98685560609aaab49851e3c463 (patch)
treec67949bd768f91d48df59cecbcefd5314c916537
parent34ef00e91b974b71032f11c57e6cfe2f9bdf500d (diff)
downloadperl-smoke-me/perlfunc.tar.gz
In perlfunc, don't have functions in "Misc" and a second category.smoke-me/perlfunc
dump, eval, evalbytes and wantarray are now only in "flow control". local, my, our and state are only in "scoping". prototype is now only in "misc". Whilst *prototypes* affect parsing, and hence indirectly flow control, the prototype function is for introspecting prototypes.
-rw-r--r--ext/Pod-Functions/t/Functions.t5
-rw-r--r--pod/perlfunc.pod6
2 files changed, 4 insertions, 7 deletions
diff --git a/ext/Pod-Functions/t/Functions.t b/ext/Pod-Functions/t/Functions.t
index 79298445ef..53da93a46c 100644
--- a/ext/Pod-Functions/t/Functions.t
+++ b/ext/Pod-Functions/t/Functions.t
@@ -115,14 +115,13 @@ Functions for filehandles, files, or directories:
Keywords related to the control flow of your Perl program:
__FILE__, __LINE__, __PACKAGE__, __SUB__, break, caller,
continue, die, do, dump, eval, evalbytes, exit, goto,
- last, next, prototype, redo, return, sub, wantarray
+ last, next, redo, return, sub, wantarray
Keywords related to scoping:
caller, import, local, my, our, package, state, use
Miscellaneous functions:
- defined, dump, eval, evalbytes, formline, local, lock, my,
- our, prototype, reset, scalar, state, undef, wantarray
+ defined, formline, lock, prototype, reset, scalar, undef
Functions for processes and process groups:
alarm, exec, fork, getpgrp, getppid, getpriority, kill,
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index dbb8044a9f..460f6d370d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -194,7 +194,7 @@ X<control flow>
C<break>, 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<prototype>, C<redo>, C<return>, C<sub>, C<__SUB__>, C<wantarray>
+C<redo>, C<return>, C<sub>, C<__SUB__>, C<wantarray>
C<break> is available only if you enable the experimental C<"switch">
feature or use the C<CORE::> prefix. The C<"switch"> feature also enables
@@ -224,9 +224,7 @@ with a C<use v5.10> (or higher) declaration in the current scope.
=for Pod::Functions =Misc
-C<defined>, C<dump>, C<eval>, C<evalbytes>,
-C<formline>, C<local>, C<lock>, C<my>, C<our>, C<prototype>,
-C<reset>, C<scalar>, C<state>, C<undef>, C<wantarray>
+C<defined>, C<formline>, C<lock>, C<prototype>, C<reset>, C<scalar>, C<undef>
=item Functions for processes and process groups
X<process> X<pid> X<process id>