Try to visualise map as an assembly line. The right conveyor belt bring list values one by one and feeds them to the block. The block executes for each of these values and in turn produces zero, one or multiple values which are put on the left conveyor belt.
step 0: () {map} (1 2 3) step 1: (1 undef) {map} (2 3) step 2: (1 undef 2 undef) {map} (3) step 3: (1 undef 2 undef 3 undef) {map} ()
In reply to Re^3: splitting directly to hash
by calin
in thread splitting directly to hash
by narashima
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |