This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In perlfunc, don't have functions in "Misc" and a second category.
authorNicholas Clark <nick@ccl4.org>
Wed, 22 Feb 2012 13:00:41 +0000 (14:00 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 17 Mar 2012 10:16:15 +0000 (11:16 +0100)
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.

ext/Pod-Functions/t/Functions.t
pod/perlfunc.pod

index 7929844..53da93a 100644 (file)
@@ -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,
index dbb8044..460f6d3 100644 (file)
@@ -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>