including the deprecated use of a map in void context
Is map in a void context deprecated?
I thought that the main concern with using map in a void context was the inefficiency of building a results list that is then discarded--but that was corrected in 5.8.1 (from the delta):
map in void context is no longer expensive. map is now context aware, and will not construct a list if called in void context.
In reply to Re^2: Answer: Easy way to list prime numbers 1 to 100
by BrowserUk
in thread Easy way to list prime numbers 1 to 100
by l.frankline
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |