$str = "the boy walked the dog"; $str =~ s/walked/fed/ =~ s/boy/girl/ =~ s/dog/Audrey II/; # error