On Dec 12, 2007, at 3:16 PM, Michael Boutros wrote:

> Thanks so much for all the replies :) So, what I've gathered is that  
> map
> basically loops through all the values of an array, does whatever the
> block says to do, and then places it back into the array. Correct?
>
> - Michael Boutros


map creates a new array

If you really want to modify the array in place, you can use map!  
instead.

-Rob

Rob Biedenharn		http://agileconsultingllc.com
Rob / AgileConsultingLLC.com