in reply to
Loop through global substitution
Perhaps with
(?{ code })
? Something like this:
1 while s/this(?{print"$&,$-[0]\n"})/that/;
[download]
Comment on
Re: Loop through global substitution
Select
or
Download
Code
In Section
Seekers of Perl Wisdom