In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/7c280bee056f2462f4b4aa2150a160fb9176601e?hp=177f0db9b219c09ca9541c325f9309b8cca12ac4>
- Log ----------------------------------------------------------------- commit 7c280bee056f2462f4b4aa2150a160fb9176601e Author: Dave Cross <[email protected]> Date: Thu Sep 1 18:29:58 2016 -0400 Correct 'map' documentation to reflect operation on a list. Rather than on an array. For: RT #126169. Dave Cross is now a Perl Author. ----------------------------------------------------------------------- Summary of changes: AUTHORS | 1 + pod/perlfunc.pod | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 76dd214..d1b87fc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -300,6 +300,7 @@ Darrell Kindred <[email protected]> Darrell Schiebel <[email protected]> Darren/Torin/Who Ever... <[email protected]> Dave Bianchi +Dave Cross <[email protected]> Dave Hartnoll <[email protected]> Dave Liney <[email protected]> Dave Nelson <[email protected]> diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 4cbe320..e2c9a81 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 -- Perl5 Master Repository
