in reply to
How do i find $a and replace it with $b when it's preceded by $c?
I did a benchmark, and the fastest solution is s/$c$a/$c$b/g. Don't use backreferences unless you have to.
Comment on
Re: How do i find $a and replace it with $b when it's preceded by $c?
In Section
Seekers of Perl Wisdom