Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upMinor fix to map docs #15581
Minor fix to map docs #15581
Comments
This comment has been minimized.
This comment has been minimized.
From dave@mag-sol.comThe documentation for "map" in perlfunc mentions "an array" where it Dave... |
This comment has been minimized.
This comment has been minimized.
From dave@mag-sol.comfix-map-doc.diffdiff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 176b02c..58316c7 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4006,8 +4006,8 @@ Note that L<C<$_>|perlvar/$_> is an alias to the list value, so it can
be used to modify the elements of the LIST. While this is useful and
supported, it can cause bizarre results if the elements of LIST are not
variables. Using a regular C<foreach> loop for this purpose would be
-clearer in most cases. See also L<C<grep>|/grep BLOCK LIST> for an
-array composed of those items of the original list for which the BLOCK
+clearer in most cases. See also L<C<grep>|/grep BLOCK LIST> for a
+list composed of those items of the original list for which the BLOCK
or EXPR evaluates to true.
C<{> starts both hash references and blocks, so C<map { ...> could be either
|
This comment has been minimized.
This comment has been minimized.
From @jkeenanOn Thu Sep 01 11:51:04 2016, dave@mag-sol.com wrote:
Thanks for the patch. Pushed to blead in commit commit 7c280be. I believe this documentation correction should be available for the next version of 5.24 as well, so I will link it to the appropriate RT. -- |
This comment has been minimized.
This comment has been minimized.
The RT System itself - Status changed from 'new' to 'open' |
This comment has been minimized.
This comment has been minimized.
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#129169 (status was 'resolved')
Searchable as RT129169$