Skip to content

Commit 1951e39

Browse files
committed
perlfunc: Update =for Pod::Functions lines
These entries apply also to arrays.
1 parent 281856e commit 1951e39

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pod/perlfunc.pod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,8 @@ X<each> X<hash, iterator>
21302130
=item each ARRAY
21312131
X<array, iterator>
21322132

2133-
=for Pod::Functions retrieve the next key/value pair from a hash
2133+
=for Pod::Functions retrieve the next key/value pair from a hash or
2134+
index/value from an array
21342135

21352136
When called on a hash in list context, returns a 2-element list
21362137
consisting of the key and value for the next element of a hash. In Perl
@@ -3930,7 +3931,7 @@ X<keys> X<key>
39303931

39313932
=item keys ARRAY
39323933

3933-
=for Pod::Functions retrieve list of indices from a hash
3934+
=for Pod::Functions retrieve list of indices from a hash or array
39343935

39353936
Called in list context, returns a list consisting of all the keys of the
39363937
named hash, or in Perl 5.12 or later only, the indices of an array. Perl
@@ -10494,7 +10495,7 @@ X<values>
1049410495

1049510496
=item values ARRAY
1049610497

10497-
=for Pod::Functions return a list of the values in a hash
10498+
=for Pod::Functions return a list of the values in a hash or array
1049810499

1049910500
In list context, returns a list consisting of all the values of the named
1050010501
hash. In Perl 5.12 or later only, will also return a list of the values of

0 commit comments

Comments
 (0)