$text = 'abcdefghijklmnopqrstuvwxyz'; $text =~ tr/abc/@b©/; print $text;