>Replace
>
>  EVIL: map { some;block;of;code;that;changes;$_ } @some_array;
>
>with
>
>  GOOD: for (@some_array) { some;block;of;code;that;changes;$_ }

I guess I don't get it.  Map returns a value and I ignore it; so what?
What side effects does this have?  Which one's faster?  I like to avoid
obvious loops when possible because I perceive them as slow, so I often use
map, and rarely (actually, to date, never) care about the return value.  If
there's no savings then I guess it doesn't matter.  But what makes it bad?

Peter






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to