in reply to Re: modify the contents of an array
in thread modify the contents of an array

I'd have used foreach instead of map, but other than that... nice simple solution.