in reply to (jeffa) Re: updating an array of strings
in thread updating an array of strings

Or even simpler:
s/^baz$/qux/ for @array;