(anonymized user) has asked for the wisdom of the Perl Monks concerning the following question:
I have been having trouble finding (imho) satisfactory documentation for the map function.
For example, this http://www.perlfunc.org/function.php?name=map, just doesn't tell me what I want to know in a way I can unambiguously understand it. For example, the opening line,
with its sort of circular definition of 'evaluation', makes me look ahead at the examples for clues, but the examples seem too obscure.Description: Evaluates the BLOCK or EXPR for each element of LIST (locally setting +$_ to each element) and returns the list value composed of the result +s of each such evaluation
(1) Is it just me? Do other people find this documentation clear enough?
(2) Can anyone provide a link to better documentation of this function (or suggest an alternative way to document it)?
Update: After about the fifth time reading through it, I finally understood it, although I am still interested in others' opinions.
Thanks in advance!
One world, one people