$new_string = "good food"; $new_string =~ tr/od/ek/;