in reply to (jeffa) Re: updating an array of strings
in thread updating an array of strings
Oops sorry jeffa, my reply (below, but typed before I saw yours) looks kind of confrontational :-(
My understanding was that the map in your example would edit each element in place (via the 's/...') and then the assignment to @array would needlessly replace each element with a copy of the resulting string.
|
|---|