in reply to One-liner to rule them all...

Here's a hint: $string =~ tr/A-Za-z/D-ZA-Cd-za-c/;