in reply to map and grep

smahesh Re: map and grep gave a very good synopsis of the difference.

Another key difference is right there in your OP (this expands on smahesh's remark)

Note with both the difference in the return value depending on the context in which it's called.

perldoc -f grep

perldoc -f map