in reply to playing with map
@new = map { act_on($_); } @old;
is functionally equivalent to
for (0..$#old) { $new[$_] = act_on( $old[$_] ); }
Is this a correct view of things?
CJW
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: playing with map
by merlyn (Sage) on Mar 09, 2001 at 23:18 UTC | |
|
Re: Re: playing with map
by mirod (Canon) on Mar 09, 2001 at 23:20 UTC | |
by merlyn (Sage) on Mar 09, 2001 at 23:21 UTC | |
by mirod (Canon) on Mar 09, 2001 at 23:28 UTC |