http://www.perlmonks.org?node_id=997463


in reply to Re^2: Order in which grep/map receive elements
in thread Order in which grep/map receive elements

Probably because it is considered too obvious require documentation.

Things come out of map/grep in the same order they went in.

With the single exception of when grep removes item(s) from the stream, in which case those things that do come out, do so in the same relative ordering with which they went in.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong