$xml =~ s/<(.*?)name>/<$1names>/g;
[id://CountZero] is right, I misread the original question. I thought the OP simply wanted to replace the "name" tags with "names." Oops.
In reply to Re: replacing continuesly occuring pattern
by friedo
in thread replacing continuesly occuring pattern
by Ananda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |