diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-02-22 14:00:41 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-02-22 14:00:41 +0100 |
commit | 6e3b316b497ac1a77c19e5fe2b5e7270fe6b01f8 (patch) | |
tree | 65e5c6110f19b6f65634f66515ebfbbe29f95376 | |
parent | f55cbdaadae76dd7924515c9a13f94aa9572eded (diff) | |
download | perl-nicholas/perlfunc.tar.gz |
In perlfunc, don't have functions in "Misc" and a second category.nicholas/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.t | 5 | ||||
-rw-r--r-- | pod/perlfunc.pod | 6 |
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 bacb3a593e..55210d9a9a 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> |