Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$string = "123456123789"; $a = 123; $b = "abc"; $c = 456; $string =~ s/$a(?!=$c)/$b/; [download]