@new = map { act_on($_); } @old;
is functionally equivalent to
for (0..$#old) { $new[$_] = act_on( $old[$_] ); }
Is this a correct view of things?
CJW
In reply to Re: playing with map
by Anonymous Monk
in thread playing with map
by coolmichael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |