Or better (and more idiomatically) yet:
s{MATCH}{REPLACEMENT}xmsg for @array;
(Note that the //g regex modifier may or may not be what you need.)
Update: Removed comments anent unavailability of documentation server.
In reply to Re^4: Search & Replace in an Array
by AnomalousMonk
in thread Search & Replace in an Array
by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |