summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2010-09-07 20:26:38 -0400
committerFather Chrysostomos <sprout@cpan.org>2011-06-05 06:39:41 -0700
commitb09c4a314c4a0fe3add48883458dbb105806d530 (patch)
tree837952fb07ed8ae9da0cb21342ae5b645362a1cc
parent33f7af6fd604c24627cb77e077220b038b8520b0 (diff)
downloadperl-b09c4a314c4a0fe3add48883458dbb105806d530.tar.gz
perlfunc: list each/keys/values as ARRAY functions
As of Perl 5.12.0, the each(), keys() and values() functions also operate on arrays, but were not listed in the table of contents section titled "Functions for real @ARRAYs". This patch fixes that oversight. The delete() and exists() functions were not added, as their use on array elements has been deprecated. (cherry picked from commit a5ce339cb0c533c90d1033581bf794417d495928)
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index a249c5b63a..82f040e73f 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -125,7 +125,7 @@ C<sin>, C<sqrt>, C<srand>
=item Functions for real @ARRAYs
X<array>
-C<pop>, C<push>, C<shift>, C<splice>, C<unshift>
+C<each>, C<keys>, C<pop>, C<push>, C<shift>, C<splice>, C<unshift>, C<values>
=item Functions for list data
X<list>