http://qs1969.pair.com?node_id=63464


in reply to Re: (tye)Re: playing with map
in thread playing with map

I'm not qualified to say that it's wrong. I will say that it doesn't seem like the right tool. Just for an example, consider the hazard of accidentally doing something like:
my @b = grep { s/apples/oranges/ } @a;
If what you meant was to have a @b basket of oranges, and an  @a basket of apples, you'll be quite unhappy to find that grep has eaten all of your apples.

mkmcconn

Replies are listed 'Best First'.
Re: Re: Re: (tye)Re: playing with map
by merlyn (Sage) on Mar 10, 2001 at 16:29 UTC